tty/serial: ucc_uart: Remove ifdef SUPPORT_SYSRQ
authorDmitry Safonov <dima@arista.com>
Fri, 13 Dec 2019 00:06:48 +0000 (00:06 +0000)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 18 Dec 2019 14:05:08 +0000 (15:05 +0100)
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>
drivers/tty/serial/ucc_uart.c

index a0555ae..ff77840 100644 (file)
@@ -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;
 }