summaryrefslogtreecommitdiffstats
path: root/drivers/tty
diff options
context:
space:
mode:
authorDmitry Safonov <dima@arista.com>2019-12-13 00:06:48 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-12-18 15:05:08 +0100
commit06129311c68cf381444f95d2baac956e9562fc3b (patch)
treee2800e8da5791952e315c86b06a0f2c02b4b6dc8 /drivers/tty
parent22cf28a84889ca7f08e7a89c789b4afa566e76de (diff)
downloadlinux-06129311c68cf381444f95d2baac956e9562fc3b.tar.gz
linux-06129311c68cf381444f95d2baac956e9562fc3b.tar.bz2
linux-06129311c68cf381444f95d2baac956e9562fc3b.zip
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>
Diffstat (limited to 'drivers/tty')
-rw-r--r--drivers/tty/serial/ucc_uart.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/tty/serial/ucc_uart.c b/drivers/tty/serial/ucc_uart.c
index a0555ae2b1ef..ff7784047156 100644
--- a/drivers/tty/serial/ucc_uart.c
+++ b/drivers/tty/serial/ucc_uart.c
@@ -551,9 +551,7 @@ handle_error:
/* Overrun does not affect the current character ! */
if (status & BD_SC_OV)
tty_insert_flip_char(tport, 0, TTY_OVERRUN);
-#ifdef SUPPORT_SYSRQ
port->sysrq = 0;
-#endif
goto error_return;
}