CLEARRTS_SUPPORT cannot be triggered at all.

Both commit logs and google don't show any clear reference about it, so I'd
vote to just delete.

Signed-off-by: Tiago Vignatti <[email protected]>
---
 hw/xfree86/os-support/shared/posix_tty.c |   13 -------------
 1 files changed, 0 insertions(+), 13 deletions(-)

diff --git a/hw/xfree86/os-support/shared/posix_tty.c 
b/hw/xfree86/os-support/shared/posix_tty.c
index 4ba8599..f77f902 100644
--- a/hw/xfree86/os-support/shared/posix_tty.c
+++ b/hw/xfree86/os-support/shared/posix_tty.c
@@ -338,19 +338,6 @@ xf86SetSerial (int fd, pointer options)
                xf86MarkOptionUsedByName (options, "ClearDTR");
        }
 
-       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");
-       }
-
        SYSCALL (r = tcsetattr (fd, TCSANOW, &t));
        return (r);
 }
-- 
1.6.0.4

_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to