Checking l_close in unneeded (one of my previous fixes),

so back it out.
This commit is contained in:
Andrey A. Chernov 1994-03-14 18:52:14 +00:00
parent 63a7486262
commit 05e5086aab
3 changed files with 6 additions and 9 deletions

View file

@ -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 */

View file

@ -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 */

View file

@ -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 */