diff options
author | Puranjay Mohan <puranjay12@gmail.com> | 2019-05-07 21:51:26 +0530 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-20 07:40:38 +0200 |
commit | bd9c9e2c6d56c04e77cf10a5da7ed8ddc0a2d9c6 (patch) | |
tree | 2d57a90420bffe8fb69bb55a4da1cd48d223ddc1 | |
parent | staging: rtl8723bs: core: Fix variable constant comparisons. (diff) | |
download | linux-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.c | 3 |
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; |