PERFORCE change 148026 for review
Ed Schouten
ed at FreeBSD.org
Thu Aug 21 19:07:28 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=148026
Change 148026 by ed at ed_flippo on 2008/08/21 19:06:59
Remove a stale check for tty_gone() inside the ttyoutq. Line
disciplines are no more.
Affected files ...
.. //depot/projects/mpsafetty/sys/kern/tty_outq.c#6 edit
Differences ...
==== //depot/projects/mpsafetty/sys/kern/tty_outq.c#6 (text+ko) ====
@@ -250,12 +250,6 @@
error = uiomove(tob->tob_data + cbegin, clen, uio);
tty_lock(tp);
- if (tty_gone(tp)) {
- /* We lost the discipline. */
- uma_zfree(ttyoutq_zone, tob);
- return (ENXIO);
- }
-
/* Block can now be readded to the list. */
/*
* XXX: we could remove the blocks here when the
@@ -282,11 +276,6 @@
error = uiomove(ob, clen, uio);
tty_lock(tp);
- if (tty_gone(tp)) {
- /* We lost the discipline. */
- return (ENXIO);
- }
-
if (error != 0)
return (error);
}
More information about the p4-projects
mailing list