From owner-svn-src-head@FreeBSD.ORG Fri Aug 8 11:47:24 2014 Return-Path: Delivered-To: svn-src-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 1AC1C7AF for ; Fri, 8 Aug 2014 11:47:24 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id E7B202683 for ; Fri, 8 Aug 2014 11:47:23 +0000 (UTC) Received: from imp (uid 547) (envelope-from imp@FreeBSD.org) id 2439 by svn.freebsd.org (DragonFly Mail Agent v0.9+); Fri, 08 Aug 2014 11:47:23 +0000 From: Warner Losh Date: Fri, 8 Aug 2014 11:47:23 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r269714 - head/sys/dev/ath X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Message-Id: <53e4b8cb.2439.46392757@svn.freebsd.org> X-BeenThere: svn-src-head@freebsd.org X-Mailman-Version: 2.1.18 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: Fri, 08 Aug 2014 11:47:24 -0000 Author: imp Date: Fri Aug 8 11:47:23 2014 New Revision: 269714 URL: http://svnweb.freebsd.org/changeset/base/269714 Log: an isn't used, so eliminate it. Modified: head/sys/dev/ath/if_ath.c Modified: head/sys/dev/ath/if_ath.c ============================================================================== --- head/sys/dev/ath/if_ath.c Fri Aug 8 11:47:18 2014 (r269713) +++ head/sys/dev/ath/if_ath.c Fri Aug 8 11:47:23 2014 (r269714) @@ -4427,14 +4427,12 @@ ath_tx_process_buf_completion(struct ath struct ath_tx_status *ts, struct ath_buf *bf) { struct ieee80211_node *ni = bf->bf_node; - struct ath_node *an = NULL; ATH_TX_UNLOCK_ASSERT(sc); ATH_TXQ_UNLOCK_ASSERT(txq); /* If unicast frame, update general statistics */ if (ni != NULL) { - an = ATH_NODE(ni); /* update statistics */ ath_tx_update_stats(sc, ts, bf); }