Staging: rtl8723bs: os_dep: Remove braces from single if statement
authorPuranjay Mohan <puranjay12@gmail.com>
Tue, 7 May 2019 16:21:26 +0000 (21:51 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 20 May 2019 05:40:38 +0000 (07:40 +0200)
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>
drivers/staging/rtl8723bs/os_dep/sdio_intf.c

index 0524825..96e989d 100644 (file)
@@ -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;