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/dev/dcons | |
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/dev/dcons')
-rw-r--r-- | sys/dev/dcons/dcons.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/sys/dev/dcons/dcons.c b/sys/dev/dcons/dcons.c index f72bb79..ecdbadb 100644 --- a/sys/dev/dcons/dcons.c +++ b/sys/dev/dcons/dcons.c @@ -586,7 +586,6 @@ dcons_detach(int port) if (tp->t_state & TS_ISOPEN) { printf("dcons: still opened\n"); (*linesw[tp->t_line].l_close)(tp, 0); - tp->t_gen++; ttyclose(tp); ttwakeup(tp); ttwwakeup(tp); |