diff options
Diffstat (limited to 'drivers/net')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index 5b4f05366f87..74094022b654 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -1784,11 +1784,6 @@ int ath_rx_tasklet(struct ath_softc *sc, int flush, bool hp) | |||
1784 | struct ieee80211_rx_status *rxs; | 1784 | struct ieee80211_rx_status *rxs; |
1785 | struct ath_hw *ah = sc->sc_ah; | 1785 | struct ath_hw *ah = sc->sc_ah; |
1786 | struct ath_common *common = ath9k_hw_common(ah); | 1786 | struct ath_common *common = ath9k_hw_common(ah); |
1787 | /* | ||
1788 | * The hw can technically differ from common->hw when using ath9k | ||
1789 | * virtual wiphy so to account for that we iterate over the active | ||
1790 | * wiphys and find the appropriate wiphy and therefore hw. | ||
1791 | */ | ||
1792 | struct ieee80211_hw *hw = sc->hw; | 1787 | struct ieee80211_hw *hw = sc->hw; |
1793 | struct ieee80211_hdr *hdr; | 1788 | struct ieee80211_hdr *hdr; |
1794 | int retval; | 1789 | int retval; |