diff options
author | Sujith Manoharan <c_manoha@qca.qualcomm.com> | 2012-11-28 15:08:55 +0530 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-11-30 13:38:15 -0500 |
commit | a56c919f05eb73f6d791cc14992f4b451059b68c (patch) | |
tree | 0d1986fbbf8d58aca30072fa2b494f19e8329cdf /drivers/net/wireless/ath/ath9k/xmit.c | |
parent | a145daf7f04696d0cec98d5328760fe65fe418c5 (diff) | |
download | linux-a56c919f05eb73f6d791cc14992f4b451059b68c.tar.bz2 |
ath9k: Remove redundant NULL assignment
'bf_next' is cleared using ATH_TXBUF_RESET() in both the
callsites of ath_tx_get_buffer().
Signed-off-by: Sujith Manoharan <c_manoha@qca.qualcomm.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.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/xmit.c b/drivers/net/wireless/ath/ath9k/xmit.c index a0a3063dae7b..90e48a0fafe5 100644 --- a/drivers/net/wireless/ath/ath9k/xmit.c +++ b/drivers/net/wireless/ath/ath9k/xmit.c @@ -312,7 +312,6 @@ static struct ath_buf *ath_tx_get_buffer(struct ath_softc *sc) } bf = list_first_entry(&sc->tx.txbuf, struct ath_buf, list); - bf->bf_next = NULL; list_del(&bf->list); spin_unlock_bh(&sc->tx.txbuflock); |