diff options
Diffstat (limited to 'sys/dev/usb/ubser.c')
| -rw-r--r-- | sys/dev/usb/ubser.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/usb/ubser.c b/sys/dev/usb/ubser.c index 653e2e646d45..4432f7a9648a 100644 --- a/sys/dev/usb/ubser.c +++ b/sys/dev/usb/ubser.c @@ -441,7 +441,6 @@ bad: if (tp != NULL) { if (tp->t_state & TS_ISOPEN) { (*linesw[tp->t_line].l_close)(tp, 0); - tp->t_gen++; ttyclose(tp); ttwakeup(tp); ttwwakeup(tp); @@ -478,7 +477,6 @@ USB_DETACH(ubser) if (tp != NULL) { if (tp->t_state & TS_ISOPEN) { (*linesw[tp->t_line].l_close)(tp, 0); - tp->t_gen++; ttyclose(tp); ttwakeup(tp); ttwwakeup(tp); |
