isdn: i4l: Remove ASYNC_CTS_FLOW
authorPeter Hurley <peter@hurleysoftware.com>
Wed, 10 Sep 2014 19:06:25 +0000 (15:06 -0400)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Sep 2014 04:19:35 +0000 (21:19 -0700)
ISDN4Linux always enables CTS flow control and does not use the
tty_port_cts_enabled() helper function; remove ASYNC_CTS_FLOW
state enable/disable.

cc: Karsten Keil <isdn@linux-pingi.de>
cc: <netdev@vger.kernel.org>
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/isdn/i4l/isdn_tty.c

index 3c5f2491a16f48f9aa365cef6423e6d8acfd74f5..bc912611fe0974d7cb3c6759158210aafbf9ec02 100644 (file)
@@ -1043,11 +1043,6 @@ isdn_tty_change_speed(modem_info *info)
        if (!(cflag & PARODD))
                cval |= UART_LCR_EPAR;
 
-       /* CTS flow control flag and modem status interrupts */
-       if (cflag & CRTSCTS) {
-               port->flags |= ASYNC_CTS_FLOW;
-       } else
-               port->flags &= ~ASYNC_CTS_FLOW;
        if (cflag & CLOCAL)
                port->flags &= ~ASYNC_CHECK_CD;
        else {