Re: [PATCH v3 1/3] staging: rtl8723bs: remove unnecessary braces and comments
From: Greg KH
Date: Tue Jul 07 2026 - 07:04:34 EST
On Sun, May 31, 2026 at 07:58:47PM +0300, Vitaliy Slivinskiy wrote:
> Fix checkpatch.pl warning about unnecessary braces for single statement blocks. Also clean up the sentinel entry in the sdio_ids array as suggested by reviewers.
This needs to be properly line-wrapped.
>
> Signed-off-by: Vitaliy Slivinskiy <phant0m.mail2023@xxxxxxxxx>
> ---
> Changes in v3:
> - Split changes into multiple patches.
> - Fixed sentinel entry formatting.
>
> drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
> index c43a0391a5ca..f0aa5bc8a38b 100644
> --- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
> +++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
> @@ -20,7 +20,7 @@ static const struct sdio_device_id sdio_ids[] = {
> { SDIO_DEVICE(0x024c, 0x0626), },
> { SDIO_DEVICE(0x024c, 0x0627), },
> { SDIO_DEVICE(0x024c, 0xb723), },
> - { /* end: all zeroes */ },
> + { }
> };
> MODULE_DEVICE_TABLE(sdio, sdio_ids);
>
> --
> 2.53.0
The description doesn't match what you did here :(