summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVasanthakumar Thiagarajan <vasanth@atheros.com>2009-07-14 20:17:10 -0400
committerJohn W. Linville <linville@tuxdriver.com>2009-07-24 15:05:18 -0400
commit8e7f98b5690fc295e3a39b99aeed475d28c60c90 (patch)
tree79cec4022f936854f99ffe624e02eefd0b24f8ac
parent164ace38536849966ffa377b1b1132993a5a375d (diff)
downloadlinux-3.10-8e7f98b5690fc295e3a39b99aeed475d28c60c90.tar.gz
linux-3.10-8e7f98b5690fc295e3a39b99aeed475d28c60c90.tar.bz2
linux-3.10-8e7f98b5690fc295e3a39b99aeed475d28c60c90.zip
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>
-rw-r--r--drivers/net/wireless/ath/ath9k/xmit.c1
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 a3bc4310a67..24663ce10ef 100644
--- a/drivers/net/wireless/ath/ath9k/xmit.c
+++ b/drivers/net/wireless/ath/ath9k/xmit.c
@@ -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);