aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/usb')
-rw-r--r--drivers/usb/serial/ftdi_sio.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/usb/serial/ftdi_sio.c b/drivers/usb/serial/ftdi_sio.c
index 4f883b1773d0..0ac2c2f540c9 100644
--- a/drivers/usb/serial/ftdi_sio.c
+++ b/drivers/usb/serial/ftdi_sio.c
@@ -1234,7 +1234,6 @@ static int set_serial_info(struct tty_struct *tty,
1234 (new_serial.flags & ASYNC_FLAGS)); 1234 (new_serial.flags & ASYNC_FLAGS));
1235 priv->custom_divisor = new_serial.custom_divisor; 1235 priv->custom_divisor = new_serial.custom_divisor;
1236 1236
1237 tty->low_latency = (priv->flags & ASYNC_LOW_LATENCY) ? 1 : 0;
1238 write_latency_timer(port); 1237 write_latency_timer(port);
1239 1238
1240check_and_exit: 1239check_and_exit:
@@ -1704,9 +1703,6 @@ static int ftdi_open(struct tty_struct *tty, struct usb_serial_port *port)
1704 priv->rx_bytes = 0; 1703 priv->rx_bytes = 0;
1705 spin_unlock_irqrestore(&priv->rx_lock, flags); 1704 spin_unlock_irqrestore(&priv->rx_lock, flags);
1706 1705
1707 if (tty)
1708 tty->low_latency = (priv->flags & ASYNC_LOW_LATENCY) ? 1 : 0;
1709
1710 write_latency_timer(port); 1706 write_latency_timer(port);
1711 1707
1712 /* No error checking for this (will get errors later anyway) */ 1708 /* No error checking for this (will get errors later anyway) */