svn commit: r226823 - user/adrian/if_ath_tx/sys/dev/ath
Adrian Chadd
adrian at FreeBSD.org
Thu Oct 27 02:40:43 UTC 2011
Author: adrian
Date: Thu Oct 27 02:40:43 2011
New Revision: 226823
URL: http://svn.freebsd.org/changeset/base/226823
Log:
Fix non-debug compilation.
Modified:
user/adrian/if_ath_tx/sys/dev/ath/if_ath.c
Modified: user/adrian/if_ath_tx/sys/dev/ath/if_ath.c
==============================================================================
--- user/adrian/if_ath_tx/sys/dev/ath/if_ath.c Thu Oct 27 02:36:13 2011 (r226822)
+++ user/adrian/if_ath_tx/sys/dev/ath/if_ath.c Thu Oct 27 02:40:43 2011 (r226823)
@@ -4916,7 +4916,9 @@ ath_stoptxdma(struct ath_softc *sc)
static void
ath_draintxq(struct ath_softc *sc, ATH_RESET_TYPE reset_type)
{
+#if ATH_DEBUG
struct ath_hal *ah = sc->sc_ah;
+#endif
struct ifnet *ifp = sc->sc_ifp;
int i;
More information about the svn-src-user
mailing list