summaryrefslogtreecommitdiffstats
path: root/sys/dev/dcons/dcons.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/dev/dcons/dcons.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/dev/dcons/dcons.c')
-rw-r--r--sys/dev/dcons/dcons.c1
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);
OpenPOWER on IntegriCloud