From 6b284802a22402f45c1d03c22dec141f2a5463ba Mon Sep 17 00:00:00 2001 From: ache Date: Mon, 14 Mar 1994 18:52:14 +0000 Subject: Checking l_close in unneeded (one of my previous fixes), so back it out. --- sys/dev/sio/sio.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sys/dev/sio/sio.c') 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 */ -- cgit v1.1