Fix warning on systems without lockdep
authorproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sun, 12 Apr 2009 19:42:40 +0000 (19:42 +0000)
committerproski <proski@0192ed92-7a03-0410-a25b-9323aeb14dbd>
Sun, 12 Apr 2009 19:42:40 +0000 (19:42 +0000)
Make lclass as used in ath_hw_reset().

git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3997 0192ed92-7a03-0410-a25b-9323aeb14dbd

ath/if_ath.c

index 02be2169a04e9acee71d6a64a11b86425920673f..5e562ac566fbca3cc7606d41d9a955c2831d6a8f 100644 (file)
@@ -1643,6 +1643,7 @@ static HAL_BOOL ath_hw_reset(struct ath_softc *sc, HAL_OPMODE opmode,
        for (i = 0; i < HAL_NUM_TX_QUEUES; i++) {
                if (ATH_TXQ_SETUP(sc, i)) {
                        txq = &sc->sc_txq[i];
+                       (void)lclass;   /* mark as used */
                        spin_lock_irqsave_nested(&txq->axq_lock,
                                                 __axq_lockflags[i], lclass++);
                }