Back out rev. 1.266. The real cause for the recent panics has been fixed

in rev. 1.267 and there is no need to keep this test.
This commit is contained in:
Martin Blapp 2006-12-20 02:49:59 +00:00
parent 1d545c7a44
commit cd1b20d58a

View File

@ -340,7 +340,7 @@ tty_close(struct tty *tp)
* this method. Only the thread clearing TS_ISOPEN should
* release the reference to the tty.
*/
if (ISSET(ostate, TS_ISOPEN) && tp->t_refcnt > 1)
if (ISSET(ostate, TS_ISOPEN))
ttyrel(tp);
splx(s);
return (0);