From bd0edcac7c5cb87ffedf4679133c24b52b92663f Mon Sep 17 00:00:00 2001 From: Adrian Chadd Date: Sun, 19 May 2013 00:53:06 +0000 Subject: [PATCH] Since we're now using the ah pointer, always declare it. This fixes non-DEBUG builds. --- sys/dev/ath/if_ath.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index f5cae0e02e0f..4744d75ade55 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -4709,9 +4709,7 @@ ath_tx_dump(struct ath_softc *sc, struct ath_txq *txq) void ath_legacy_tx_drain(struct ath_softc *sc, ATH_RESET_TYPE reset_type) { -#ifdef ATH_DEBUG struct ath_hal *ah = sc->sc_ah; -#endif struct ifnet *ifp = sc->sc_ifp; int i; struct ath_buf *bf_last;