]> git.karo-electronics.de Git - linux-beck.git/commitdiff
ath9k: Remove bogus assert in ath_clone_txbuf()
authorVasanthakumar Thiagarajan <vasanth@atheros.com>
Wed, 15 Jul 2009 00:17:10 +0000 (20:17 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 24 Jul 2009 19:05:18 +0000 (15:05 -0400)
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>
drivers/net/wireless/ath/ath9k/xmit.c

index a3bc4310a67c878b0a54e2a9abf91d9914760da1..24663ce10ef8bdacbc8bb70af59d69a98411baa8 100644 (file)
@@ -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);
                return NULL;
        }
-       ASSERT(!list_empty((&sc->tx.txbuf)));
        tbf = list_first_entry(&sc->tx.txbuf, struct ath_buf, list);
        list_del(&tbf->list);
        spin_unlock_bh(&sc->tx.txbuflock);