Re: [PATCH] [v2] parport: mfc3: avoid empty-body warning

From: Sudip Mukherjee
Date: Mon Aug 28 2023 - 06:11:58 EST


On Thu, 27 Jul 2023 at 13:24, Arnd Bergmann <arnd@xxxxxxxxxx> wrote:
>
> From: Arnd Bergmann <arnd@xxxxxxxx>
>
> 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.
>
> Signed-off-by: Arnd Bergmann <arnd@xxxxxxxx>

Acked-by: Sudip Mukherjee <sudipm.mukherjee@xxxxxxxxx>


--
Regards
Sudip