summaryrefslogtreecommitdiff
path: root/drivers/net/wireless/wl12xx
diff options
context:
space:
mode:
authorKalle Valo <kalle.valo@nokia.com>2009-06-12 15:17:47 +0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-10 22:57:50 +0400
commit05fac682c2ca0c572d1bd8e6a38025838ddf0e68 (patch)
treeb6932aa5584692ac494c23eaf984167bc7aa8222 /drivers/net/wireless/wl12xx
parent80301cdcfe44e3533175be23d7d52a9fc8c3fdb0 (diff)
downloadlinux-05fac682c2ca0c572d1bd8e6a38025838ddf0e68.tar.xz
wl1251: fix a checkpatch warning
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>
Diffstat (limited to 'drivers/net/wireless/wl12xx')
-rw-r--r--drivers/net/wireless/wl12xx/wl1251_main.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/net/wireless/wl12xx/wl1251_main.c b/drivers/net/wireless/wl12xx/wl1251_main.c
index f4bc5796c245..11e1903aee6b 100644
--- a/drivers/net/wireless/wl12xx/wl1251_main.c
+++ b/drivers/net/wireless/wl12xx/wl1251_main.c
@@ -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)