Re: [PATCH v2 3/3] serial: core: drop redundant sysrq checks

2020-06-12 Thread Dmitry Safonov
On 6/10/20 4:22 PM, Johan Hovold wrote: > 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

[PATCH v2 3/3] serial: core: drop redundant sysrq checks

2020-06-10 Thread Johan Hovold
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 --- include/linux/serial_core.h | 4 ++-- 1 file changed,