* [PATCH v2] staging: rtl8723bs: remove unnecessary braces for single statement
@ 2026-03-14 4:45 Marcos Andrade
2026-03-14 7:58 ` Greg KH
0 siblings, 1 reply; 2+ messages in thread
From: Marcos Andrade @ 2026-03-14 4:45 UTC (permalink / raw)
To: gregkh; +Cc: linux-staging, linux-kernel, marcosandrade95963
Remove unnecessary braces for a single statement block in an if
condition to comply with the Linux kernel coding style.
This resolves a checkpatch.pl warning.
Signed-off-by: Marcos Andrade <marcosandrade95963@gmail.com>
---
Changes in v2:
drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
index d664e2549..a86252cca 100644
--- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
+++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
@@ -146,9 +146,8 @@ static void sdio_deinit(struct dvobj_priv *dvobj)
sdio_claim_host(func);
sdio_disable_func(func);
- if (dvobj->irq_alloc) {
+ if (dvobj->irq_alloc)
sdio_release_irq(func);
- }
sdio_release_host(func);
}
--
2.53.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-03-14 7:59 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-03-14 4:45 [PATCH v2] staging: rtl8723bs: remove unnecessary braces for single statement Marcos Andrade
2026-03-14 7:58 ` Greg KH
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox