[SERIAL]: Avoid 'statement with no effect' warnings.
authorDavid S. Miller <davem@sunset.davemloft.net>
Tue, 6 Sep 2005 20:57:08 +0000 (13:57 -0700)
committerDavid S. Miller <davem@sunset.davemloft.net>
Tue, 6 Sep 2005 20:57:08 +0000 (13:57 -0700)
commit93c37f292110a37dd77e4cc0aaf1c341d79bf6aa
treec260bc770ee4c1e343d5c79979f26d0f62d16f57
parent4706df3d3c42af802597d82c8b1542c3d52eab23
[SERIAL]: Avoid 'statement with no effect' warnings.

When SUPPORT_SYSRQ is false, gcc can emit warnings for
the uart_handle_sysrq_char() that results.  Using an
empty inline returning zero kills the warning.

Signed-off-by: David S. Miller <davem@davemloft.net>
include/linux/serial_core.h