summaryrefslogtreecommitdiffstats
path: root/sys/dev
diff options
context:
space:
mode:
authoradrian <adrian@FreeBSD.org>2013-05-19 00:53:06 +0000
committeradrian <adrian@FreeBSD.org>2013-05-19 00:53:06 +0000
commit3feeec31e4231e758baab37e86720e57e543055d (patch)
tree61d6f7b6c8401ce9ce714d440fc3d820336db8b8 /sys/dev
parent99516daae550194c4659ff0f4c31cb515b63ee88 (diff)
downloadFreeBSD-src-3feeec31e4231e758baab37e86720e57e543055d.zip
FreeBSD-src-3feeec31e4231e758baab37e86720e57e543055d.tar.gz
Since we're now using the ah pointer, always declare it.
This fixes non-DEBUG builds.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index f5cae0e..4744d75 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;
OpenPOWER on IntegriCloud