mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-26 21:54:11 +08: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…
Reference in New Issue
Block a user