Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 May 2013 00:53:07 +0000 (UTC)
From:      Adrian Chadd <adrian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r250795 - head/sys/dev/ath
Message-ID:  <201305190053.r4J0r7jS009877@svn.freebsd.org>

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



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