diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2011-10-05 08:48:20 +0300 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-10-11 16:41:10 -0400 |
commit | f49bbd2a45bf37d9fe202486712c89c214e33b5a (patch) | |
tree | 87ba96e3365c600cb85f76cbc5935c33bdfa1b82 /drivers/pcmcia/sa1100_simpad.c | |
parent | 8fb7475bde74814e5f9d0871590e00a6acb36a20 (diff) |
ath9k: remove some bogus error handling code
If "axq_qnum >= ARRAY_SIZE(sc->tx.txq)", then the call to
ath9k_hw_releasetxqueue() would read beyond the end of the ah->txq[]
array and possibly corrupt memory. Fortunately,
ath9k_hw_setuptxqueue() doesn't return high values of "axq_qnum" and
this code can be removed.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/pcmcia/sa1100_simpad.c')
0 files changed, 0 insertions, 0 deletions