From owner-svn-src-user@FreeBSD.ORG Thu Oct 27 02:40:43 2011 Return-Path: Delivered-To: svn-src-user@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A2F9C1065673; Thu, 27 Oct 2011 02:40:43 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 937C48FC13; Thu, 27 Oct 2011 02:40:43 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id p9R2ehMb079707; Thu, 27 Oct 2011 02:40:43 GMT (envelope-from adrian@svn.freebsd.org) Received: (from adrian@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id p9R2ehjr079705; Thu, 27 Oct 2011 02:40:43 GMT (envelope-from adrian@svn.freebsd.org) Message-Id: <201110270240.p9R2ehjr079705@svn.freebsd.org> From: Adrian Chadd Date: Thu, 27 Oct 2011 02:40:43 +0000 (UTC) To: src-committers@freebsd.org, svn-src-user@freebsd.org X-SVN-Group: user MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r226823 - user/adrian/if_ath_tx/sys/dev/ath X-BeenThere: svn-src-user@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the experimental " user" src tree" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Oct 2011 02:40:43 -0000 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;