summaryrefslogtreecommitdiff
path: root/drivers/tty
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2020-06-10 18:22:32 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-06-27 17:16:37 +0300
commit225385657b7d81a99e17e04cd01f9ed5bb3109a8 (patch)
tree08c391cfb16108cc9adbc18cbe20d11485046bf2 /drivers/tty
parent08d5470308ac3598e7709d08b8979ce6e9de8da2 (diff)
downloadlinux-225385657b7d81a99e17e04cd01f9ed5bb3109a8.tar.xz
serial: core: drop redundant sysrq checks
The sysrq timestamp will never be set unless port->has_sysrq is set (see uart_handle_break()) so drop the redundant checks that were added by commit 1997e9dfdc84 ("serial_core: Un-ifdef sysrq SUPPORT_SYSRQ"). Signed-off-by: Johan Hovold <johan@kernel.org> Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Dmitry Safonov <0x7f454c46@gmail.com> Link: https://lore.kernel.org/r/20200610152232.16925-4-johan@kernel.org Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/tty')
0 files changed, 0 insertions, 0 deletions