From: Peter Hurley Date: Wed, 10 Sep 2014 19:06:25 +0000 (-0400) Subject: isdn: i4l: Remove ASYNC_CTS_FLOW X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=317c1360200059a7a8a832294a58409c73b784bf;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 cc: Signed-off-by: Peter Hurley Signed-off-by: Greg Kroah-Hartman --- 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) 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 {