summaryrefslogtreecommitdiff
path: root/sys/dev/sio/sio.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-06-01 10:15:56 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-06-01 10:15:56 +0000
commitbda4474a591fa1287709d059699e5a0505511c24 (patch)
tree297ba7698e7050ad68368e00d16d58526fec6b5d /sys/dev/sio/sio.c
parentfb86d10effa583c02de3a90d64a6f53dfcc4b9a9 (diff)
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
-rw-r--r--sys/dev/sio/sio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c
index 192973d8061a..dcbaedf8fc1b 100644
--- a/sys/dev/sio/sio.c
+++ b/sys/dev/sio/sio.c
@@ -455,7 +455,6 @@ siodetach(dev)
if (com->tp && (com->tp->t_state & TS_ISOPEN)) {
device_printf(dev, "still open, forcing close\n");
(*linesw[com->tp->t_line].l_close)(com->tp, 0);
- com->tp->t_gen++;
ttyclose(com->tp);
ttwakeup(com->tp);
ttwwakeup(com->tp);