staging: rtl8723bs: remove unnecessary braces for single statement
PATCH v2 1/1 staging: rtl8723bs: remove unnecessary braces for single statement
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 <[email protected]>
---
Changes in v2:
drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
drivers/staging/rtl8723bs/os_dep/sdio_intf.c +1 -2
@@ -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); }
Signature · 1 line
2.53.0
Greg KH
maintainerQuoted 9 lines · Marcos Andrade
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 <[email protected]>---
Changes in v2:drivers/staging/rtl8723bs/os_dep/sdio_intf.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-)
You didn't list the changes :(