From: Arnd Bergmann <arnd@arndb.de>
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>
---
v2: remove the line instead of adding {}
---
drivers/isdn/hardware/mISDN/hfcmulti.c | 2 --
1 file changed, 2 deletions(-)
From: Leon Romanovsky <leon@kernel.org> Date: 2021-03-22 13:59:27
On Mon, Mar 22, 2021 at 01:14:47PM +0100, Arnd Bergmann wrote:
From: Arnd Bergmann <arnd@arndb.de>
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>
---
v2: remove the line instead of adding {}
---
drivers/isdn/hardware/mISDN/hfcmulti.c | 2 --
1 file changed, 2 deletions(-)
Thanks, interesting when we will delete whole drivers/isdn :)
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
On Mon, Mar 22, 2021 at 2:58 PM Leon Romanovsky [off-list ref] wrote:
Thanks, interesting when we will delete whole drivers/isdn :)
Reviewed-by: Leon Romanovsky <leonro@nvidia.com>
Not any time soon I think, Harald Welte mentioned that Osmocom
still relies on mISDN.
The CAPI stuff only remains because of net/bluetooth/cmtp/ though.
I don't think there are any users, but Marcel wanted to keep cmtp
since it is not really hardware specific. We could probably move
drivers/isdn/capi/* to net/bluetooth/cmtp/ if there was a good reason.
Arnd
Hello:
This patch was applied to netdev/net-next.git (refs/heads/master):
On Mon, 22 Mar 2021 13:14:47 +0100 you wrote:
From: Arnd Bergmann <arnd@arndb.de>
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 */
[...]