Date: Wed, 3 Sep 2008 20:26:48 GMT From: Brooks Davis <brooks@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 149154 for review Message-ID: <200809032026.m83KQm7I085489@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=149154 Change 149154 by brooks@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,
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809032026.m83KQm7I085489>