diff options
author | Kalle Valo <kalle.valo@nokia.com> | 2009-06-12 07:17:47 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-07-10 14:57:50 -0400 |
commit | 05fac682c2ca0c572d1bd8e6a38025838ddf0e68 (patch) | |
tree | b6932aa5584692ac494c23eaf984167bc7aa8222 /drivers/net/wireless/wl12xx | |
parent | 80301cdcfe44e3533175be23d7d52a9fc8c3fdb0 (diff) |
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.c | 3 |
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) | |||
155 | wl1251_write32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, elp_reg); | 155 | wl1251_write32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR, elp_reg); |
156 | elp_reg = wl1251_read32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR); | 156 | elp_reg = wl1251_read32(wl, HW_ACCESS_ELP_CTRL_REG_ADDR); |
157 | 157 | ||
158 | if (!(elp_reg & ELPCTRL_WLAN_READY)) { | 158 | if (!(elp_reg & ELPCTRL_WLAN_READY)) |
159 | wl1251_warning("WLAN not ready"); | 159 | wl1251_warning("WLAN not ready"); |
160 | } | ||
161 | } | 160 | } |
162 | 161 | ||
163 | static int wl1251_chip_wakeup(struct wl1251 *wl) | 162 | static int wl1251_chip_wakeup(struct wl1251 *wl) |