From: Sujith Manoharan Date: Wed, 28 Nov 2012 09:38:55 +0000 (+0530) Subject: ath9k: Remove redundant NULL assignment X-Git-Url: http://git.cdn.openwrt.org/?a=commitdiff_plain;h=a56c919f05eb73f6d791cc14992f4b451059b68c;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: John W. Linville --- 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);