staging: wilc1000: remove warnings on unnecessary braces
authorTony Cho <tony.cho@atmel.com>
Tue, 28 Jul 2015 08:47:33 +0000 (17:47 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 29 Jul 2015 20:57:20 +0000 (13:57 -0700)
This patch removes the warnings reported by checkpatch.pl on the braces
{} not necessary for any arm of this statement.

Signed-off-by: Tony Cho <tony.cho@atmel.com>
Reviewed-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_sdio.c

index 8f674adbdfee8baae0c82a39c5487663776f4391..fd87add7c4cba07468511ae495915944e94aa0bf 100644 (file)
@@ -692,11 +692,10 @@ static int sdio_init(wilc_wlan_inp_t *inp, wilc_debug_func func)
                goto _fail_;
        }
        g_sdio.dPrint(N_ERR, "[wilc sdio]: chipid (%08x)\n", chipid);
-       if ((chipid & 0xfff) > 0x2a0) {
+       if ((chipid & 0xfff) > 0x2a0)
                g_sdio.has_thrpt_enh3 = 1;
-       } else {
+       else
                g_sdio.has_thrpt_enh3 = 0;
-       }
        g_sdio.dPrint(N_ERR, "[wilc sdio]: has_thrpt_enh3 = %d...\n", g_sdio.has_thrpt_enh3);
 
        return 1;
This page took 0.028159 seconds and 5 git commands to generate.