diff options
author | phk <phk@FreeBSD.org> | 2004-06-01 10:15:56 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-01 10:15:56 +0000 |
commit | d4a4e27cd427b98e5b859dc864e875e75db1e3a8 (patch) | |
tree | 297ba7698e7050ad68368e00d16d58526fec6b5d /sys/pc98 | |
parent | 92c9a57d01997158b8973aaa88ab6da894a2057d (diff) | |
download | FreeBSD-src-d4a4e27cd427b98e5b859dc864e875e75db1e3a8.zip FreeBSD-src-d4a4e27cd427b98e5b859dc864e875e75db1e3a8.tar.gz |
ttyclose() increments t_gen. Remove redundant increments in drivers.
Diffstat (limited to 'sys/pc98')
-rw-r--r-- | sys/pc98/cbus/sio.c | 1 | ||||
-rw-r--r-- | sys/pc98/pc98/sio.c | 1 |
2 files changed, 0 insertions, 2 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); diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c index ba3df52..cf72607 100644 --- a/sys/pc98/pc98/sio.c +++ b/sys/pc98/pc98/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); |