From: Vasanthakumar Thiagarajan Date: Tue, 11 May 2010 02:41:35 +0000 (-0700) Subject: ath9k: Remove unused rx_edma in ath_rx_addbuffer_edma() X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=b29e7eb4b8b3e5f4ff8066af648e9fe2fc707b16;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git ath9k: Remove unused rx_edma in ath_rx_addbuffer_edma() Signed-off-by: Vasanthakumar Thiagarajan Signed-off-by: John W. Linville --- 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, static void ath_rx_addbuffer_edma(struct ath_softc *sc, enum ath9k_rx_qtype qtype, int size) { - struct ath_rx_edma *rx_edma; struct ath_common *common = ath9k_hw_common(sc->sc_ah); u32 nbuf = 0; - rx_edma = &sc->rx.rx_edma[qtype]; if (list_empty(&sc->rx.rxbuf)) { ath_print(common, ATH_DBG_QUEUE, "No free rx buf available\n"); return;