svn commit: r250795 - head/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Sun May 19 00:53:07 UTC 2013
Author: adrian
Date: Sun May 19 00:53:06 2013
New Revision: 250795
URL: http://svnweb.freebsd.org/changeset/base/250795
Log:
Since we're now using the ah pointer, always declare it.
This fixes non-DEBUG builds.
Modified:
head/sys/dev/ath/if_ath.c
Modified: head/sys/dev/ath/if_ath.c
==============================================================================
--- head/sys/dev/ath/if_ath.c Sun May 19 00:04:24 2013 (r250794)
+++ head/sys/dev/ath/if_ath.c Sun May 19 00:53:06 2013 (r250795)
@@ -4709,9 +4709,7 @@ ath_tx_dump(struct ath_softc *sc, struct
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;
More information about the svn-src-all
mailing list