aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorWarner Losh <imp@FreeBSD.org>2014-08-08 11:47:23 +0000
committerWarner Losh <imp@FreeBSD.org>2014-08-08 11:47:23 +0000
commitc737a387f58ed3f06cdfe3860bb7ad241f8c28cb (patch)
tree2a46a4d78f44bba80d4ae3c07423cc65764f5ef5 /sys/dev/ath
parent89c4eab36fb7aa22423365fac744cdc528ce3af4 (diff)
Notes
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index f176b6391b63..3d26bafadd59 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -4427,14 +4427,12 @@ ath_tx_process_buf_completion(struct ath_softc *sc, struct ath_txq *txq,
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);
}