ath9k: Remove unused variables in ath_mci_cleanup
authorSven Eckelmann <sven@narfation.org>
Thu, 31 Jan 2013 09:26:49 +0000 (10:26 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 1 Feb 2013 19:27:24 +0000 (14:27 -0500)
Leaving the unused variables ath_mci_cleanup causes build warnings.

Signed-off-by: Sven Eckelmann <sven@narfation.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/mci.c

index d207433..815bee2 100644 (file)
@@ -474,8 +474,6 @@ void ath_mci_cleanup(struct ath_softc *sc)
 {
        struct ath_common *common = ath9k_hw_common(sc->sc_ah);
        struct ath_hw *ah = sc->sc_ah;
-       struct ath_mci_coex *mci = &sc->mci_coex;
-       struct ath_mci_buf *buf = &mci->sched_buf;
 
        ar9003_mci_cleanup(ah);