diff options
| author | Andrey A. Chernov <ache@FreeBSD.org> | 1994-03-18 23:35:37 +0000 |
|---|---|---|
| committer | Andrey A. Chernov <ache@FreeBSD.org> | 1994-03-18 23:35:37 +0000 |
| commit | 65f120b86a9ab10a08a1486460c212982672b1f7 (patch) | |
| tree | 1fac79c108c00c3bd3c851a9d9dc49e3f509dd7d /sys/dev/sio/sio.c | |
| parent | e8c3de7e2f4cf2ce250f5c7878d037d1fbb4db61 (diff) | |
Notes
Diffstat (limited to 'sys/dev/sio/sio.c')
| -rw-r--r-- | sys/dev/sio/sio.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index fd9c219b3d24..3df9d45a75f8 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.33 1994/03/10 10:06:27 ache Exp $ + * $Id: sio.c,v 1.34 1994/03/14 18:52:14 ache Exp $ */ #include "sio.h" @@ -774,11 +774,6 @@ sioclose(dev, flag, mode, p) (*linesw[tp->t_line].l_close)(tp, flag); ttyclose(tp); comhardclose(com); - ttyfree(tp); -#ifdef broken /* session holds a ref to the tty; can't deallocate */ - sio_tty[UNIT(dev)] = (struct tty *)NULL; - com->tp = (struct tty *)NULL; -#endif return (0); } |
