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;
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to