diff options
-rw-r--r-- | drivers/net/wireless/ath/ath9k/recv.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/ath/ath9k/recv.c b/drivers/net/wireless/ath/ath9k/recv.c index da54ff5f3d7e..ba139132c85f 100644 --- a/drivers/net/wireless/ath/ath9k/recv.c +++ b/drivers/net/wireless/ath/ath9k/recv.c | |||
@@ -150,11 +150,9 @@ static bool ath_rx_edma_buf_link(struct ath_softc *sc, | |||
150 | static void ath_rx_addbuffer_edma(struct ath_softc *sc, | 150 | static void ath_rx_addbuffer_edma(struct ath_softc *sc, |
151 | enum ath9k_rx_qtype qtype, int size) | 151 | enum ath9k_rx_qtype qtype, int size) |
152 | { | 152 | { |
153 | struct ath_rx_edma *rx_edma; | ||
154 | struct ath_common *common = ath9k_hw_common(sc->sc_ah); | 153 | struct ath_common *common = ath9k_hw_common(sc->sc_ah); |
155 | u32 nbuf = 0; | 154 | u32 nbuf = 0; |
156 | 155 | ||
157 | rx_edma = &sc->rx.rx_edma[qtype]; | ||
158 | if (list_empty(&sc->rx.rxbuf)) { | 156 | if (list_empty(&sc->rx.rxbuf)) { |
159 | ath_print(common, ATH_DBG_QUEUE, "No free rx buf available\n"); | 157 | ath_print(common, ATH_DBG_QUEUE, "No free rx buf available\n"); |
160 | return; | 158 | return; |