diff options
author | Arend van Spriel <arend@broadcom.com> | 2012-10-22 20:55:40 (GMT) |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-10-29 19:28:57 (GMT) |
commit | 823e1c813f9b414fb62d5fd2f326c95425cdd585 (patch) | |
tree | a007473ae81d9898269a04d1cf95fdf7aa885ba5 /drivers | |
parent | 7d641072c3fc526ebdd78a605ea0d7851e9492f1 (diff) | |
download | linux-fsl-qoriq-823e1c813f9b414fb62d5fd2f326c95425cdd585.tar.xz |
brcmfmac: remove unnecessary macro usage in brcmf_cfg80211_resume()
The macro wiphy_to_cfg() is a bit redundant as the function already
has a pointer variable to brcmf_cfg80211_info structure.
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c index 82c7c77..62b155e 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/wl_cfg80211.c @@ -2997,7 +2997,7 @@ static s32 brcmf_cfg80211_resume(struct wiphy *wiphy) WL_TRACE("Enter\n"); if (check_vif_up(ifp->vif)) - brcmf_invoke_iscan(wiphy_to_cfg(wiphy)); + brcmf_invoke_iscan(cfg); WL_TRACE("Exit\n"); return 0; |