Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a56c919f authored by Sujith Manoharan's avatar Sujith Manoharan Committed by John W. Linville
Browse files

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: default avatarSujith Manoharan <c_manoha@qca.qualcomm.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent a145daf7
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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);