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:
Dmitry Safonov 2019-12-13 00:06:29 +00:00 committed by Greg Kroah-Hartman
parent bb3ecd968b
commit eff0a31d4b

View File

@ -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;
}