Commit 3f1b32bd authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Kalle Valo

brcmsmac: remove a useless test

'pih' is known to be non-NULL at this point, so the test can be removed.
Signed-off-by: default avatarChristophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: default avatarArend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: default avatarKalle Valo <kvalo@codeaurora.org>
parent be898fed
......@@ -1816,8 +1816,7 @@ void brcms_b_phy_reset(struct brcms_hardware *wlc_hw)
udelay(2);
brcms_b_core_phy_clk(wlc_hw, ON);
if (pih)
wlc_phy_anacore(pih, ON);
wlc_phy_anacore(pih, ON);
}
/* switch to and initialize new band */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment