mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-30 22:26:55 +00: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
1 changed files with 1 additions and 2 deletions
|
@ -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 a new issue