parport: mfc3: avoid empty-body warning
authorArnd Bergmann <arnd@arndb.de>
Fri, 5 Apr 2024 14:42:57 +0000 (16:42 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 11 Apr 2024 13:14:10 +0000 (15:14 +0200)
commit1d6b84d29779f84f3108acc90681c372a2f70a24
treea92b614250abadb06ff9c77f0a08847da05d235c
parent5f8fcfc3e509d8a1d458a09baeacc53595607d4d
parport: mfc3: avoid empty-body warning

on m68k builds, the mfc3 driver causes a warning about an empty if() block:

drivers/parport/parport_mfc3.c: In function 'control_pc_to_mfc3':
drivers/parport/parport_mfc3.c:106:37: warning: suggest braces around empty body in an 'if' statement [-Wempty-body]

Remove it in favor of a simpler comment.

Acked-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Link: https://lore.kernel.org/lkml/20230727122448.2479942-1-arnd@kernel.org/
Signed-off-by: Arnd Bergmann <arnd@arndb.de>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20240405144304.1223160-1-arnd@kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/parport/parport_mfc3.c