From owner-svn-src-head@FreeBSD.ORG Sun May 19 00:53:07 2013 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 6F83A7DE; Sun, 19 May 2013 00:53:07 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 6104ABF8; Sun, 19 May 2013 00:53:07 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4J0r73L009878; Sun, 19 May 2013 00:53:07 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4J0r7jS009877; Sun, 19 May 2013 00:53:07 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201305190053.r4J0r7jS009877@svn.freebsd.org> From: Adrian Chadd Date: Sun, 19 May 2013 00:53:07 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r250795 - head/sys/dev/ath X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the src tree for head/-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 May 2013 00:53:07 -0000 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;