mirror of
https://github.com/FEX-Emu/linux.git
synced 2025-02-13 08:06:58 +00:00
ath9k: Remove bogus assert in ath_clone_txbuf()
oops, this one should be part of the original patch "ath9k: downgrade assert in ath_clone_txbuf()" Signed-off-by: Vasanthakumar Thiagarajan <vasanth@atheros.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
This commit is contained in:
parent
164ace3853
commit
8e7f98b569
@ -242,7 +242,6 @@ static struct ath_buf* ath_clone_txbuf(struct ath_softc *sc, struct ath_buf *bf)
|
|||||||
spin_unlock_bh(&sc->tx.txbuflock);
|
spin_unlock_bh(&sc->tx.txbuflock);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
ASSERT(!list_empty((&sc->tx.txbuf)));
|
|
||||||
tbf = list_first_entry(&sc->tx.txbuf, struct ath_buf, list);
|
tbf = list_first_entry(&sc->tx.txbuf, struct ath_buf, list);
|
||||||
list_del(&tbf->list);
|
list_del(&tbf->list);
|
||||||
spin_unlock_bh(&sc->tx.txbuflock);
|
spin_unlock_bh(&sc->tx.txbuflock);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user