summaryrefslogtreecommitdiffstats
path: root/drivers/tty/serial/max3100.c
diff options
context:
space:
mode:
authorJiri Slaby <jslaby@suse.cz>2021-01-05 13:02:38 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2021-01-07 16:17:32 +0100
commit0bc1bd092af3c7c0b025ece93c3a86916f89f3ca (patch)
treec8d148de3474046b8649495e95f4e1045e9dc6f1 /drivers/tty/serial/max3100.c
parenttty: cpm_uart, use port->flags instead of low_latency (diff)
downloadlinux-0bc1bd092af3c7c0b025ece93c3a86916f89f3ca.tar.xz
linux-0bc1bd092af3c7c0b025ece93c3a86916f89f3ca.zip
tty_port: drop last traces of low_latency
The main purpose of tty_port::low_latency was removed in commit a9c3f68f3cd8 (tty: Fix low_latency BUG) back in 2014. It was left in place for drivers as an optional tune knob. But only one driver has been using it until the previous commit. So remove this misconcept completely, given there are no users. Signed-off-by: Jiri Slaby <jslaby@suse.cz> Link: https://lore.kernel.org/r/20210105120239.28031-11-jslaby@suse.cz Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty/serial/max3100.c')
-rw-r--r--drivers/tty/serial/max3100.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/tty/serial/max3100.c b/drivers/tty/serial/max3100.c
index 371569a0fd00..3c92d4e01488 100644
--- a/drivers/tty/serial/max3100.c
+++ b/drivers/tty/serial/max3100.c
@@ -521,9 +521,6 @@ max3100_set_termios(struct uart_port *port, struct ktermios *termios,
MAX3100_STATUS_PE | MAX3100_STATUS_FE |
MAX3100_STATUS_OE;
- /* we are sending char from a workqueue so enable */
- s->port.state->port.low_latency = 1;
-
if (s->poll_time > 0)
del_timer_sync(&s->timer);