staging: wilc1000: wilc_wfi_netdevice.c: remove braces for single statement block
authorChaehyun Lim <chaehyun.lim@gmail.com>
Mon, 22 Jun 2015 04:08:13 +0000 (13:08 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 7 Jul 2015 02:23:36 +0000 (19:23 -0700)
Fix checkpatch warning found by checkpatch.pl
WARNING: braces {} are not necessary for single statement blocks

Signed-off-by: Chaehyun Lim <chaehyun.lim@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wfi_netdevice.c

index 9da7674602e1f1bce40e3600628cab221b1e41eb..039e21f6caf68ca49dc30830ae2f8e2e739a4db3 100644 (file)
@@ -931,10 +931,8 @@ int WILC_WFI_InitModule(void)
        /* ret = host_int_init(&priv[0]->hWILCWFIDrv); */
        /*copy handle to the other driver*/
        /* priv[1]->hWILCWFIDrv = priv[0]->hWILCWFIDrv; */
-       if (ret) {
+       if (ret)
                PRINT_ER("Error Init Driver\n");
-       }
-
 
 out:
        if (ret)