staging: wilc1000: remove unnecessary braces
authorChris Park <chris.park@atmel.com>
Thu, 4 Feb 2016 09:15:52 +0000 (18:15 +0900)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 8 Feb 2016 01:34:58 +0000 (17:34 -0800)
This patch remove warnings reported by checkpatch.pl
for unnecessary braces

Signed-off-by: Chris Park <chris.park@atmel.com>
Signed-off-by: Leo Kim <leo.kim@atmel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/wilc1000/wilc_wlan.c

index 8618e27..e2c84db 100644 (file)
@@ -984,15 +984,15 @@ void wilc_handle_isr(struct wilc *wilc)
        if (int_status & PLL_INT_EXT)
                wilc_pllupdate_isr_ext(wilc, int_status);
 
-       if (int_status & DATA_INT_EXT) {
+       if (int_status & DATA_INT_EXT)
                wilc_wlan_handle_isr_ext(wilc, int_status);
-       }
+
        if (int_status & SLEEP_INT_EXT)
                wilc_sleeptimer_isr_ext(wilc, int_status);
 
-       if (!(int_status & (ALL_INT_EXT))) {
+       if (!(int_status & (ALL_INT_EXT)))
                wilc_unknown_isr_ext(wilc);
-       }
+
        release_bus(wilc, RELEASE_ALLOW_SLEEP);
 }
 EXPORT_SYMBOL_GPL(wilc_handle_isr);