wl1251: fix a checkpatch warning
authorKalle Valo <kalle.valo@nokia.com>
Fri, 12 Jun 2009 11:17:47 +0000 (14:17 +0300)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 10 Jul 2009 18:57:50 +0000 (14:57 -0400)
drivers/net/wireless/wl12xx/wl1251_main.c:158: WARNING:
braces {} are not necessary for single statement blocks

Signed-off-by: Kalle Valo <kalle.valo@nokia.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/wl12xx/wl1251_main.c

index f4bc5796c245d251e527a3515cf8f8e45d2e55ed..11e1903aee6b43c6c15163cf07c647dcdea2f406 100644 (file)
@@ -155,9 +155,8 @@ static void wl1251_fw_wakeup(struct wl1251 *wl)
        wl1251_write32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, elp_reg);
        elp_reg = wl1251_read32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR);
 
-       if (!(elp_reg & ELPCTRL_WLAN_READY)) {
+       if (!(elp_reg & ELPCTRL_WLAN_READY))
                wl1251_warning("WLAN not ready");
-       }
 }
 
 static int wl1251_chip_wakeup(struct wl1251 *wl)