diff options
| author | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-01 10:15:56 +0000 |
|---|---|---|
| committer | Poul-Henning Kamp <phk@FreeBSD.org> | 2004-06-01 10:15:56 +0000 |
| commit | bda4474a591fa1287709d059699e5a0505511c24 (patch) | |
| tree | 297ba7698e7050ad68368e00d16d58526fec6b5d /sys | |
| parent | fb86d10effa583c02de3a90d64a6f53dfcc4b9a9 (diff) | |
Notes
Diffstat (limited to 'sys')
| -rw-r--r-- | sys/dev/dcons/dcons.c | 1 | ||||
| -rw-r--r-- | sys/dev/sio/sio.c | 1 | ||||
| -rw-r--r-- | sys/dev/usb/ubser.c | 2 | ||||
| -rw-r--r-- | sys/dev/usb/ucom.c | 1 | ||||
| -rw-r--r-- | sys/pc98/cbus/sio.c | 1 | ||||
| -rw-r--r-- | sys/pc98/pc98/sio.c | 1 |
6 files changed, 0 insertions, 7 deletions
diff --git a/sys/dev/dcons/dcons.c b/sys/dev/dcons/dcons.c index f72bb79f4103b..ecdbadb1cb683 100644 --- a/sys/dev/dcons/dcons.c +++ b/sys/dev/dcons/dcons.c @@ -586,7 +586,6 @@ dcons_detach(int port) if (tp->t_state & TS_ISOPEN) { printf("dcons: still opened\n"); (*linesw[tp->t_line].l_close)(tp, 0); - tp->t_gen++; ttyclose(tp); ttwakeup(tp); ttwwakeup(tp); diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 192973d8061a7..dcbaedf8fc1b6 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -455,7 +455,6 @@ siodetach(dev) if (com->tp && (com->tp->t_state & TS_ISOPEN)) { device_printf(dev, "still open, forcing close\n"); (*linesw[com->tp->t_line].l_close)(com->tp, 0); - com->tp->t_gen++; ttyclose(com->tp); ttwakeup(com->tp); ttwwakeup(com->tp); diff --git a/sys/dev/usb/ubser.c b/sys/dev/usb/ubser.c index 653e2e646d452..4432f7a9648a4 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); diff --git a/sys/dev/usb/ucom.c b/sys/dev/usb/ucom.c index e6bcd82783759..f713a32f153ee 100644 --- a/sys/dev/usb/ucom.c +++ b/sys/dev/usb/ucom.c @@ -214,7 +214,6 @@ ucom_detach(struct ucom_softc *sc) device_printf(sc->sc_dev, "still open, forcing close\n"); (*linesw[tp->t_line].l_close)(tp, 0); - tp->t_gen++; ttyclose(tp); ttwakeup(tp); ttwwakeup(tp); diff --git a/sys/pc98/cbus/sio.c b/sys/pc98/cbus/sio.c index ba3df52e161c7..cf72607a18219 100644 --- a/sys/pc98/cbus/sio.c +++ b/sys/pc98/cbus/sio.c @@ -783,7 +783,6 @@ siodetach(dev) if (com->tp && (com->tp->t_state & TS_ISOPEN)) { device_printf(dev, "still open, forcing close\n"); (*linesw[com->tp->t_line].l_close)(com->tp, 0); - com->tp->t_gen++; ttyclose(com->tp); ttwakeup(com->tp); ttwwakeup(com->tp); diff --git a/sys/pc98/pc98/sio.c b/sys/pc98/pc98/sio.c index ba3df52e161c7..cf72607a18219 100644 --- a/sys/pc98/pc98/sio.c +++ b/sys/pc98/pc98/sio.c @@ -783,7 +783,6 @@ siodetach(dev) if (com->tp && (com->tp->t_state & TS_ISOPEN)) { device_printf(dev, "still open, forcing close\n"); (*linesw[com->tp->t_line].l_close)(com->tp, 0); - com->tp->t_gen++; ttyclose(com->tp); ttwakeup(com->tp); ttwwakeup(com->tp); |
