From: Dan Carpenter Date: Wed, 5 Oct 2011 05:48:20 +0000 (+0300) Subject: ath9k: remove some bogus error handling code X-Git-Tag: v3.2-rc1~129^2~83^2~112 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f49bbd2a45bf37d9fe202486712c89c214e33b5a;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed