summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2015-03-24 09:43:17 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2015-05-20 11:53:36 +1000
commitf82dc6bd91a545a844fb688ba3552e4f5df8a0d2 (patch)
treed7ba0eae1484ecf285e22041b1f2c8daa818c5ef
parentfc59c8fe8d941b0ec1e98c59bc57b1f97dba149d (diff)
xfree86: drop if 0 hunk
Disabled in 2005. bye bye. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--hw/xfree86/os-support/linux/lnx_init.c12
1 files changed, 0 insertions, 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;