From a1cda79464588cd8489700574b2e8608c1914f95 Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Tue, 1 Jun 2004 11:38:06 +0000 Subject: 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. --- sys/dev/dcons/dcons.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'sys/dev/dcons') diff --git a/sys/dev/dcons/dcons.c b/sys/dev/dcons/dcons.c index ecdbadb1cb68..cb983e4669fc 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. -- cgit v1.3