aboutsummaryrefslogtreecommitdiffstats
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)
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 a3bc4310a67c..24663ce10ef8 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)
242 spin_unlock_bh(&sc->tx.txbuflock); 242 spin_unlock_bh(&sc->tx.txbuflock);
243 return NULL; 243 return NULL;
244 } 244 }
245 ASSERT(!list_empty((&sc->tx.txbuf)));
246 tbf = list_first_entry(&sc->tx.txbuf, struct ath_buf, list); 245 tbf = list_first_entry(&sc->tx.txbuf, struct ath_buf, list);
247 list_del(&tbf->list); 246 list_del(&tbf->list);
248 spin_unlock_bh(&sc->tx.txbuflock); 247 spin_unlock_bh(&sc->tx.txbuflock);