mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-19 10:48:20 +07:00
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:
parent
be898fed35
commit
3f1b32bdbb
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user