OSDN Git Service

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)
commit13e8c216d2ed0bf99b6e8ae4d1edd1f17d6b6448
tree44f87cc8d50836b7adbc7f6e451462d0120bc51c
parent744b8376632208137fe4acc9967b93e2970732a3
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