aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPuranjay Mohan <puranjay12@gmail.com>2019-05-07 21:51:26 +0530
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2019-05-20 07:40:38 +0200
commitbd9c9e2c6d56c04e77cf10a5da7ed8ddc0a2d9c6 (patch)
tree2d57a90420bffe8fb69bb55a4da1cd48d223ddc1
parentstaging: rtl8723bs: core: Fix variable constant comparisons. (diff)
downloadlinux-dev-bd9c9e2c6d56c04e77cf10a5da7ed8ddc0a2d9c6.tar.xz
linux-dev-bd9c9e2c6d56c04e77cf10a5da7ed8ddc0a2d9c6.zip
Staging: rtl8723bs: os_dep: Remove braces from single if statement
Remove braces from single if statement to solve style issue found using checkpatch,pl Signed-off-by: Puranjay Mohan <puranjay12@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
-rw-r--r--drivers/staging/rtl8723bs/os_dep/sdio_intf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
index 052482554f74..96e989d1d53d 100644
--- a/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
+++ b/drivers/staging/rtl8723bs/os_dep/sdio_intf.c
@@ -489,9 +489,8 @@ static int rtw_drv_init(
/* dev_alloc_name && register_netdev */
status = rtw_drv_register_netdev(if1);
- if (status != _SUCCESS) {
+ if (status != _SUCCESS)
goto free_if2;
- }
if (sdio_alloc_irq(dvobj) != _SUCCESS)
goto free_if2;