]> git.baikalelectronics.ru Git - kernel.git/commit
misdn: avoid -Wempty-body warning
authorArnd Bergmann <arnd@arndb.de>
Mon, 22 Mar 2021 12:14:47 +0000 (13:14 +0100)
committerDavid S. Miller <davem@davemloft.net>
Mon, 22 Mar 2021 20:17:05 +0000 (13:17 -0700)
commitb5fd0878d11f7d1592e4a7686c09e47df7efd1a1
tree44f87cc8d50836b7adbc7f6e451462d0120bc51c
parented28ec1e2ff6d1a7743b651cc4edcb35e7f4b408
misdn: avoid -Wempty-body warning

gcc warns about a pointless condition:

drivers/isdn/hardware/mISDN/hfcmulti.c: In function 'hfcmulti_interrupt':
drivers/isdn/hardware/mISDN/hfcmulti.c:2752:17: error: suggest braces around empty body in an 'if' statement [-Werror=empty-body]
 2752 |                 ; /* external IRQ */

As the check has no effect, just remove it.

Suggested-by: Leon Romanovsky <leon@kernel.org>
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/isdn/hardware/mISDN/hfcmulti.c