diff options
-rw-r--r-- | sys/dev/sio/sio.c | 5 | ||||
-rw-r--r-- | sys/i386/isa/sio.c | 5 | ||||
-rw-r--r-- | sys/isa/sio.c | 5 |
3 files changed, 6 insertions, 9 deletions
diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 33c9568..fd9c219 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.32 1994/03/08 22:11:10 ache Exp $ + * $Id: sio.c,v 1.33 1994/03/10 10:06:27 ache Exp $ */ #include "sio.h" @@ -772,8 +772,7 @@ sioclose(dev, flag, mode, p) com = com_addr(UNIT(dev)); tp = com->tp; (*linesw[tp->t_line].l_close)(tp, flag); - if (linesw[tp->t_line].l_close != ttyclose) - ttyclose(tp); + ttyclose(tp); comhardclose(com); ttyfree(tp); #ifdef broken /* session holds a ref to the tty; can't deallocate */ diff --git a/sys/i386/isa/sio.c b/sys/i386/isa/sio.c index 33c9568..fd9c219 100644 --- a/sys/i386/isa/sio.c +++ b/sys/i386/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.32 1994/03/08 22:11:10 ache Exp $ + * $Id: sio.c,v 1.33 1994/03/10 10:06:27 ache Exp $ */ #include "sio.h" @@ -772,8 +772,7 @@ sioclose(dev, flag, mode, p) com = com_addr(UNIT(dev)); tp = com->tp; (*linesw[tp->t_line].l_close)(tp, flag); - if (linesw[tp->t_line].l_close != ttyclose) - ttyclose(tp); + ttyclose(tp); comhardclose(com); ttyfree(tp); #ifdef broken /* session holds a ref to the tty; can't deallocate */ diff --git a/sys/isa/sio.c b/sys/isa/sio.c index 33c9568..fd9c219 100644 --- a/sys/isa/sio.c +++ b/sys/isa/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.32 1994/03/08 22:11:10 ache Exp $ + * $Id: sio.c,v 1.33 1994/03/10 10:06:27 ache Exp $ */ #include "sio.h" @@ -772,8 +772,7 @@ sioclose(dev, flag, mode, p) com = com_addr(UNIT(dev)); tp = com->tp; (*linesw[tp->t_line].l_close)(tp, flag); - if (linesw[tp->t_line].l_close != ttyclose) - ttyclose(tp); + ttyclose(tp); comhardclose(com); ttyfree(tp); #ifdef broken /* session holds a ref to the tty; can't deallocate */ |