[PATCH v2 1/3] staging: rtl8723bs: remove unnecessary braces and comments
From: Vitaliy Slivinskiy
Date: Fri May 29 2026 - 06:00:42 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>
---
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 c43a0391a..f0aa5bc8a 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