svn commit: r269714 - head/sys/dev/ath

Warner Losh imp at FreeBSD.org
Fri Aug 8 11:47:24 UTC 2014


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);
 	}


More information about the svn-src-head mailing list