[PATCH v3 1/3] staging: rtl8723bs: remove unnecessary braces and comments
From: Vitaliy Slivinskiy
Date: Sun May 31 2026 - 13:00:32 EST
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.
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