Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Dmitry Safonov and committed by
Greg Kroah-Hartman
eff0a31d bb3ecd96

+2 -4
+2 -4
drivers/tty/serial/pch_uart.c
··· 584 584 if (uart_handle_break(port)) 585 585 continue; 586 586 } 587 - if (port->sysrq) { 588 - if (uart_handle_sysrq_char(port, rbr)) 589 - continue; 590 - } 587 + if (uart_handle_sysrq_char(port, rbr)) 588 + continue; 591 589 592 590 buf[i++] = rbr; 593 591 }