linux/drivers/net/wireless/ath
Dan Carpenter 8fb7475bde ath5k: remove some unneeded error handling code
th5k_hw_setup_tx_queue() returns a valid offset into the ah->ah_txq[]
array.  The ah->ah_txq[] and the ah->txqs[] array are the same size.
Both have AR5K_NUM_TX_QUEUES elements.  So this error handling code
will never trigger.

Also it's wrong.  The call to ath5k_hw_release_tx_queue() with a qnum
of AR5K_NUM_TX_QUEUES or more will just trigger a WARN_ON() and
return.  Or if it missed the WARN_ON(), it would just corrupt some
memory and return.

Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Reviewed-by: Bob Copeland <me@bobcopeland.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2011-10-11 16:41:09 -04:00
..
ath5k ath5k: remove some unneeded error handling code 2011-10-11 16:41:09 -04:00
ath6kl ath6kl: fixup merge damage in ath6kl_mgmt_tx 2011-10-11 15:33:10 -04:00
ath9k ath9k_hw: set pci_express capability true for AR9480 2011-10-03 15:22:42 -04:00
carl9170 mac80211: pass vif param to conf_tx() callback 2011-10-03 15:22:41 -04:00
ath.h ath9k: eliminate common->{rx,tx}_chainmask 2011-09-14 13:56:19 -04:00
debug.c
hw.c Merge ssh://master.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 into for-davem 2011-05-24 16:47:54 -04:00
Kconfig Add ath6kl cleaned up driver 2011-08-09 19:45:18 +03:00
key.c ath: use get_unaligned_le{16,32} in ath_hw_keysetmac() 2011-07-18 14:29:41 -04:00
main.c ath: Make ath_printk void not int and remove unused struct ath_common * 2011-08-30 15:38:52 -04:00
Makefile Add ath6kl cleaned up driver 2011-08-09 19:45:18 +03:00
reg.h
regd_common.h ath: fix spelling of Grenada 2011-08-08 16:04:13 -04:00
regd.c
regd.h ath: fix spelling of Grenada 2011-08-08 16:04:13 -04:00