summaryrefslogtreecommitdiffstats
path: root/sys/dev/dcons
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-01 11:38:06 +0000
committerphk <phk@FreeBSD.org>2004-06-01 11:38:06 +0000
commitb59eec9a5a18464d17e1f879eeefcbfe26db54b9 (patch)
treebee822db2fefe2c11a8e1742dffbe5cc412473a9 /sys/dev/dcons
parent70c10dad98698d3cdec7c690b438ae16205a4830 (diff)
downloadFreeBSD-src-b59eec9a5a18464d17e1f879eeefcbfe26db54b9.zip
FreeBSD-src-b59eec9a5a18464d17e1f879eeefcbfe26db54b9.tar.gz
There is no need to explicitly call ttwakeup() and ttwwakeup() after
ttyclose() has been called. It's already been done once by ttyclose, and probably once by the line-discipline too.
Diffstat (limited to 'sys/dev/dcons')
-rw-r--r--sys/dev/dcons/dcons.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/dcons/dcons.c b/sys/dev/dcons/dcons.c
index ecdbadb..cb983e4 100644
--- a/sys/dev/dcons/dcons.c
+++ b/sys/dev/dcons/dcons.c
@@ -587,8 +587,6 @@ dcons_detach(int port)
printf("dcons: still opened\n");
(*linesw[tp->t_line].l_close)(tp, 0);
ttyclose(tp);
- ttwakeup(tp);
- ttwwakeup(tp);
}
/* XXX
* must wait until all device are closed.
OpenPOWER on IntegriCloud