From: proski Date: Sun, 12 Apr 2009 19:42:40 +0000 (+0000) Subject: Fix warning on systems without lockdep X-Git-Url: http://git.ozo.com/?a=commitdiff_plain;h=8b8d49a612c160ad59ac3da9ca0458f50dbdeb0d;p=madwifi%2F.git Fix warning on systems without lockdep Make lclass as used in ath_hw_reset(). git-svn-id: http://madwifi-project.org/svn/madwifi/trunk@3997 0192ed92-7a03-0410-a25b-9323aeb14dbd --- diff --git a/ath/if_ath.c b/ath/if_ath.c index 02be216..5e562ac 100644 --- a/ath/if_ath.c +++ b/ath/if_ath.c @@ -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++); }