Re: [PATCH] staging: media: atomisp: remove unnecessary braces in single statement blocks

From: Ethan Tidmore

Date: Tue Mar 10 2026 - 23:09:09 EST


On Tue Mar 10, 2026 at 3:36 PM CDT, Oskar Ray-Frayssinet wrote:
> Remove unnecessary braces around single statement blocks throughout
> the atomisp driver to comply with kernel coding style.
>
> Signed-off-by: Oskar Ray-Frayssinet <rayfraytech@xxxxxxxxx>
> ---

$ ./scripts/checkpatch.pl --strict -g HEAD
ERROR: trailing whitespace
#201: FILE: drivers/staging/media/atomisp/pci/hive_isp_css_common/host/irq.c:326:
+^Iif (idx == IRQ_N_CHANNEL[IRQ0_ID]) $

Alway use "./scripts/checkpatch.pl --strict" before sending a patch off
to catch things like this.

Thanks,

ET