USB: serial: add sysrq break-handler dummy
authorJohan Hovold <johan@kernel.org>
Wed, 8 Jul 2020 12:49:57 +0000 (14:49 +0200)
committerJohan Hovold <johan@kernel.org>
Thu, 9 Jul 2020 07:20:10 +0000 (09:20 +0200)
commit4b5cf2b8f90faf32bbb735b545510edefce094be
treedfa1cc3cf803faab3c76096b79e59d2ecf3e2a23
parent4fbfbdb5726ff15bdce1c371efa1281b28322f64
USB: serial: add sysrq break-handler dummy

Add inline sysrq break-handler dummy to allow the compiler to eliminate
further code when either console or sysrq support isn't enabled and to
clearly mark the two sysrq functions as belonging together.

Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
drivers/usb/serial/generic.c
include/linux/usb/serial.h