summaryrefslogtreecommitdiffstats
path: root/sys/pc98/cbus/sio.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-01 10:15:56 +0000
committerphk <phk@FreeBSD.org>2004-06-01 10:15:56 +0000
commitd4a4e27cd427b98e5b859dc864e875e75db1e3a8 (patch)
tree297ba7698e7050ad68368e00d16d58526fec6b5d /sys/pc98/cbus/sio.c
parent92c9a57d01997158b8973aaa88ab6da894a2057d (diff)
downloadFreeBSD-src-d4a4e27cd427b98e5b859dc864e875e75db1e3a8.zip
FreeBSD-src-d4a4e27cd427b98e5b859dc864e875e75db1e3a8.tar.gz
ttyclose() increments t_gen. Remove redundant increments in drivers.
Diffstat (limited to 'sys/pc98/cbus/sio.c')
-rw-r--r--sys/pc98/cbus/sio.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index ba3df52..cf72607 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -783,7 +783,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);
OpenPOWER on IntegriCloud