Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 8 Aug 2014 11:47:23 +0000 (UTC)
From:      Warner Losh <imp@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r269714 - head/sys/dev/ath
Message-ID:  <53e4b8cb.2439.46392757@svn.freebsd.org>

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



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