From f7ef6fd9a1a1f48603df2796fe7c904c25a81077 Mon Sep 17 00:00:00 2001 From: Tiago Vignatti Date: Tue, 20 Apr 2010 15:56:58 +0300 Subject: [PATCH] xfree86: fix not reached code in tty code CLEARRTS_SUPPORT cannot be triggered at all. Notice that mouse driver manual page states the support for it though. Signed-off-by: Tiago Vignatti Reviewed-by: Peter Hutterer --- hw/xfree86/os-support/shared/posix_tty.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/hw/xfree86/os-support/shared/posix_tty.c b/hw/xfree86/os-support/shared/posix_tty.c index 4ba8599ab..da57939cf 100644 --- a/hw/xfree86/os-support/shared/posix_tty.c +++ b/hw/xfree86/os-support/shared/posix_tty.c @@ -340,14 +340,9 @@ xf86SetSerial (int fd, pointer options) if ((xf86SetBoolOption (options, "ClearRTS", FALSE))) { -#ifdef CLEARRTS_SUPPORT - val = TIOCM_RTS; - SYSCALL (ioctl(fd, TIOCMBIC, &val)); -#else xf86Msg (X_WARNING, "Option ClearRTS not supported on this OS\n"); return (-1); -#endif xf86MarkOptionUsedByName (options, "ClearRTS"); }