1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-29 12:03:03 +00:00

Since we're now using the ah pointer, always declare it.

This fixes non-DEBUG builds.
This commit is contained in:
Adrian Chadd 2013-05-19 00:53:06 +00:00
parent 6fb5c84ea2
commit bd0edcac7c
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=250795

View File

@ -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;