xfree86: drop if 0 hunk

Disabled in 2005. bye bye.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
Peter Hutterer 2015-03-24 09:43:17 +10:00
parent fc59c8fe8d
commit f82dc6bd91

View File

@ -190,18 +190,6 @@ xf86OpenConsole(void)
else
activeVT = vts.v_active;
#if 0
if (!KeepTty) {
/*
* Detach from the controlling tty to avoid char loss
*/
if ((i = open("/dev/tty", O_RDWR)) >= 0) {
SYSCALL(ioctl(i, TIOCNOTTY, 0));
close(i);
}
}
#endif
if (!xf86Info.ShareVTs) {
struct termios nTty;