diff options
author | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-04-20 15:56:58 +0300 |
---|---|---|
committer | Tiago Vignatti <tiago.vignatti@nokia.com> | 2010-04-21 18:07:28 +0300 |
commit | f7ef6fd9a1a1f48603df2796fe7c904c25a81077 (patch) | |
tree | a90b1e3a808dc306374d977db6a8a5c368bbbccb /hw/xfree86/os-support | |
parent | b36eeb713a349961a6be8a6dd183ded6d27f9974 (diff) |
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 <tiago.vignatti@nokia.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'hw/xfree86/os-support')
-rw-r--r-- | hw/xfree86/os-support/shared/posix_tty.c | 5 |
1 files changed, 0 insertions, 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"); } |