summaryrefslogtreecommitdiffstats
path: root/sys/dev/usb/ubser.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/usb/ubser.c')
-rw-r--r--sys/dev/usb/ubser.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/dev/usb/ubser.c b/sys/dev/usb/ubser.c
index 4432f7a..b3edce8 100644
--- a/sys/dev/usb/ubser.c
+++ b/sys/dev/usb/ubser.c
@@ -442,8 +442,6 @@ bad:
if (tp->t_state & TS_ISOPEN) {
(*linesw[tp->t_line].l_close)(tp, 0);
ttyclose(tp);
- ttwakeup(tp);
- ttwwakeup(tp);
}
}
destroy_dev(sc->dev[i]);
@@ -478,8 +476,6 @@ USB_DETACH(ubser)
if (tp->t_state & TS_ISOPEN) {
(*linesw[tp->t_line].l_close)(tp, 0);
ttyclose(tp);
- ttwakeup(tp);
- ttwwakeup(tp);
}
}
destroy_dev(sc->dev[i]);
OpenPOWER on IntegriCloud