diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2014-09-10 15:06:25 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2014-09-24 00:19:35 -0400 |
commit | 317c1360200059a7a8a832294a58409c73b784bf (patch) | |
tree | de1207a942734bf6eacd45aac4a1830f40080b26 /drivers/isdn/i4l | |
parent | 299245a145b2ad4cfb4c5432eb1264299f55e7e0 (diff) |
isdn: i4l: Remove ASYNC_CTS_FLOW
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>
Diffstat (limited to 'drivers/isdn/i4l')
-rw-r--r-- | drivers/isdn/i4l/isdn_tty.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/isdn/i4l/isdn_tty.c b/drivers/isdn/i4l/isdn_tty.c index 3c5f2491a16f..bc912611fe09 100644 --- a/drivers/isdn/i4l/isdn_tty.c +++ b/drivers/isdn/i4l/isdn_tty.c | |||
@@ -1043,11 +1043,6 @@ isdn_tty_change_speed(modem_info *info) | |||
1043 | if (!(cflag & PARODD)) | 1043 | if (!(cflag & PARODD)) |
1044 | cval |= UART_LCR_EPAR; | 1044 | cval |= UART_LCR_EPAR; |
1045 | 1045 | ||
1046 | /* CTS flow control flag and modem status interrupts */ | ||
1047 | if (cflag & CRTSCTS) { | ||
1048 | port->flags |= ASYNC_CTS_FLOW; | ||
1049 | } else | ||
1050 | port->flags &= ~ASYNC_CTS_FLOW; | ||
1051 | if (cflag & CLOCAL) | 1046 | if (cflag & CLOCAL) |
1052 | port->flags &= ~ASYNC_CHECK_CD; | 1047 | port->flags &= ~ASYNC_CHECK_CD; |
1053 | else { | 1048 | else { |