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

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
Loading
Loading
Loading
Loading
+1 −2
Original line number Diff line number Diff line
@@ -1816,7 +1816,6 @@ 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);
}