aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/xmit.c
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2010-06-24 05:42:46 -0400
committerJohn W. Linville <linville@tuxdriver.com>2010-06-24 15:42:42 -0400
commit78a181725162c33cdc8907c3c224bd8b6b628f0e (patch)
tree0a5aa7dd9816a8d1bc70805a8be2c743f0645c98 /drivers/net/wireless/ath/ath9k/xmit.c
parentca369eb494e45a3e3b8960775f88125fe1fbb0f2 (diff)
ath9k: Remove unused paprd_txok
Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/xmit.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/xmit.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c
index edbeffb14a1c..c41185b28c0a 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -1948,12 +1948,10 @@ static void ath_tx_complete_buf(struct ath_softc *sc, struct ath_buf *bf,
1948 if (bf->bf_state.bfs_paprd) { 1948 if (bf->bf_state.bfs_paprd) {
1949 if (time_after(jiffies, 1949 if (time_after(jiffies,
1950 bf->bf_state.bfs_paprd_timestamp + 1950 bf->bf_state.bfs_paprd_timestamp +
1951 msecs_to_jiffies(ATH_PAPRD_TIMEOUT))) { 1951 msecs_to_jiffies(ATH_PAPRD_TIMEOUT)))
1952 dev_kfree_skb_any(skb); 1952 dev_kfree_skb_any(skb);
1953 } else { 1953 else
1954 sc->paprd_txok = txok;
1955 complete(&sc->paprd_complete); 1954 complete(&sc->paprd_complete);
1956 }
1957 } else { 1955 } else {
1958 ath_tx_complete(sc, skb, bf->aphy, tx_flags); 1956 ath_tx_complete(sc, skb, bf->aphy, tx_flags);
1959 ath_debug_stat_tx(sc, txq, bf, ts); 1957 ath_debug_stat_tx(sc, txq, bf, ts);