summaryrefslogtreecommitdiffstats
path: root/sys/dev/sio
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1994-03-14 18:52:14 +0000
committerache <ache@FreeBSD.org>1994-03-14 18:52:14 +0000
commit6b284802a22402f45c1d03c22dec141f2a5463ba (patch)
tree5444c3aa52dcf03c349af01243c3cb6af6cae71e /sys/dev/sio
parent3f6ebb7ed1a8f12f26f38fa520340792bb812a58 (diff)
downloadFreeBSD-src-6b284802a22402f45c1d03c22dec141f2a5463ba.zip
FreeBSD-src-6b284802a22402f45c1d03c22dec141f2a5463ba.tar.gz
Checking l_close in unneeded (one of my previous fixes),
so back it out.
Diffstat (limited to 'sys/dev/sio')
-rw-r--r--sys/dev/sio/sio.c5
1 files changed, 2 insertions, 3 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 */
OpenPOWER on IntegriCloud