aboutsummaryrefslogtreecommitdiff
path: root/sys/pc98/cbus/sio.c
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-06-01 11:38:06 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-06-01 11:38:06 +0000
commita1cda79464588cd8489700574b2e8608c1914f95 (patch)
treebee822db2fefe2c11a8e1742dffbe5cc412473a9 /sys/pc98/cbus/sio.c
parent92b3fb2908408dd2b0620e4c011d483976595751 (diff)
downloadsrc-a1cda79464588cd8489700574b2e8608c1914f95.tar.gz
src-a1cda79464588cd8489700574b2e8608c1914f95.zip
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.
Notes
Notes: svn path=/head/; revision=129937
Diffstat (limited to 'sys/pc98/cbus/sio.c')
-rw-r--r--sys/pc98/cbus/sio.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c
index cf72607a1821..51b811bfc3de 100644
--- a/sys/pc98/cbus/sio.c
+++ b/sys/pc98/cbus/sio.c
@@ -784,8 +784,6 @@ siodetach(dev)
device_printf(dev, "still open, forcing close\n");
(*linesw[com->tp->t_line].l_close)(com->tp, 0);
ttyclose(com->tp);
- ttwakeup(com->tp);
- ttwwakeup(com->tp);
} else {
if (com->ibuf != NULL)
free(com->ibuf, M_DEVBUF);