mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-15 01:44:52 +00:00
tty/serial: pmac_zilog: Don't check port->sysrq
uart_handle_sysrq_char() already handles it. Signed-off-by: Dmitry Safonov <dima@arista.com> Link: https://lore.kernel.org/r/20191213000657.931618-31-dima@arista.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
bb3ecd968b
commit
eff0a31d4b
@ -584,10 +584,8 @@ static int pch_uart_hal_read(struct eg20t_port *priv, unsigned char *buf,
|
||||
if (uart_handle_break(port))
|
||||
continue;
|
||||
}
|
||||
if (port->sysrq) {
|
||||
if (uart_handle_sysrq_char(port, rbr))
|
||||
continue;
|
||||
}
|
||||
if (uart_handle_sysrq_char(port, rbr))
|
||||
continue;
|
||||
|
||||
buf[i++] = rbr;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user