From f82dc6bd91a545a844fb688ba3552e4f5df8a0d2 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Tue, 24 Mar 2015 09:43:17 +1000 Subject: xfree86: drop if 0 hunk Disabled in 2005. bye bye. Signed-off-by: Peter Hutterer --- hw/xfree86/os-support/linux/lnx_init.c | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/hw/xfree86/os-support/linux/lnx_init.c b/hw/xfree86/os-support/linux/lnx_init.c index 94853070d..a0e6782b0 100644 --- a/hw/xfree86/os-support/linux/lnx_init.c +++ b/hw/xfree86/os-support/linux/lnx_init.c @@ -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; -- cgit v1.2.3