PERFORCE change 149154 for review
Brooks Davis
brooks at FreeBSD.org
Wed Sep 3 20:26:48 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=149154
Change 149154 by brooks at brooks_coredump on 2008/09/03 20:26:37
Remove some entierly no-op entries so this is the same as HEAD.
If this code were complete, including it might make sense, but
we don't want to commit #if 0 code without good reason.
Affected files ...
.. //depot/projects/vimage-commit2/src/sys/kern/tty.c#7 edit
Differences ...
==== //depot/projects/vimage-commit2/src/sys/kern/tty.c#7 (text+ko) ====
@@ -61,7 +61,6 @@
#undef TTYDEFCHARS
#include <sys/ucred.h>
#include <sys/vnode.h>
-#include <sys/vimage.h>
#include <machine/stdarg.h>
@@ -710,12 +709,6 @@
done: tty_unlock(tp);
return (error);
}
-#if 0
- /* in the old code we did this in the ioctl code.. remember this! */
- CURVNET_SET(TD_TO_VNET(curthread));
- /* fumble line discipline */
- CURVNET_RESTORE();
-#endif
static struct cdevsw ttyil_cdevsw = {
.d_version = D_VERSION,
More information about the p4-projects
mailing list