aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/dcons
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/dcons')
-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 f72bb79f4103b..ecdbadb1cb683 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);