Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Oct 2011 02:40:43 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-user@freebsd.org
Subject:   svn commit: r226823 - user/adrian/if_ath_tx/sys/dev/ath
Message-ID:  <201110270240.p9R2ehjr079705@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201110270240.p9R2ehjr079705>