brcmsmac: remove a useless test

'pih' is known to be non-NULL at this point, so the test can be removed.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
Christophe JAILLET 2019-09-15 21:32:10 +02:00 committed by Kalle Valo
parent be898fed35
commit 3f1b32bdbb
1 changed files with 1 additions and 2 deletions

View File

@ -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 */