ath9k: Remove unused rx_edma in ath_rx_addbuffer_edma()

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, May 20, 2010 - 11:13 pm

Gitweb:     http://git.kernel.org/linus/b29e7eb4b8b3e5f4ff8066af648e9fe2fc707b16
Commit:     b29e7eb4b8b3e5f4ff8066af648e9fe2fc707b16
Parent:     083e3e8d3dfeb191f349081c052ad3d20e8861f3
Author:     Vasanthakumar Thiagarajan <vasanth@atheros.com>
AuthorDate: Mon May 10 19:41:35 2010 -0700
Committer:  John W. Linville <linville@tuxdriver.com>
CommitDate: Tue May 11 15:14:21 2010 -0400

    ath9k: Remove unused rx_edma in ath_rx_addbuffer_edma()
    
    Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com>
    Signed-off-by: John W. Linville <linville@tuxdriver.com>
---
 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 da54ff5..ba13913 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;
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ath9k: Remove unused rx_edma in ath_rx_addbuffer_edma(), Linux Kernel Mailing ..., (Thu May 20, 11:13 pm)