diff options
author | phk <phk@FreeBSD.org> | 2004-06-01 11:38:06 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2004-06-01 11:38:06 +0000 |
commit | b59eec9a5a18464d17e1f879eeefcbfe26db54b9 (patch) | |
tree | bee822db2fefe2c11a8e1742dffbe5cc412473a9 /sys/pc98 | |
parent | 70c10dad98698d3cdec7c690b438ae16205a4830 (diff) | |
download | FreeBSD-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/pc98')
-rw-r--r-- | sys/pc98/cbus/sio.c | 2 | ||||
-rw-r--r-- | sys/pc98/pc98/sio.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index cf72607..51b811b 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); diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c index cf72607..51b811b 100644 --- a/sys/pc98/pc98/sio.c +++ b/sys/pc98/pc98/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); |