Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 05fac682 authored by Kalle Valo's avatar Kalle Valo Committed by John W. Linville
Browse files

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: default avatarKalle Valo <kalle.valo@nokia.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent 80301cdc
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -155,10 +155,9 @@ 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)
{