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

tty/serial: ucc_uart: Remove ifdef SUPPORT_SYSRQ

ucc_uart doesn't seem to support console over itself, so maybe it can
be deleted with uart_handle_sysrq_char() from the file.

Cc: Timur Tabi <timur@kernel.org>
Cc: linuxppc-dev@lists.ozlabs.org
Signed-off-by: Dmitry Safonov <dima@arista.com>
Link: https://lore.kernel.org/r/20191213000657.931618-50-dima@arista.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

authored by

Dmitry Safonov and committed by
Greg Kroah-Hartman
06129311 22cf28a8

-2
-2
drivers/tty/serial/ucc_uart.c
··· 551 551 /* Overrun does not affect the current character ! */ 552 552 if (status & BD_SC_OV) 553 553 tty_insert_flip_char(tport, 0, TTY_OVERRUN); 554 - #ifdef SUPPORT_SYSRQ 555 554 port->sysrq = 0; 556 - #endif 557 555 goto error_return; 558 556 } 559 557