dect
/
linux-2.6
Archived
13
0
Fork 0

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>
This commit is contained in:
Kalle Valo 2009-06-12 14:17:47 +03:00 committed by John W. Linville
parent 80301cdcfe
commit 05fac682c2
1 changed files with 1 additions and 2 deletions

View 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)