[ath5k] Avoid unused variable warning in gcc 4.6

Reported-by: Ralph Giles <giles@thaumas.net>
Tested-by: Ralph Giles <giles@thaumas.net>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2011-03-16 19:54:52 +00:00
parent 7f2903c623
commit 7bb8eca55b
3 changed files with 1 additions and 12 deletions
-4
View File
@@ -55,12 +55,8 @@ int ath5k_hw_set_tx_queueprops(struct ath5k_hw *ah,
int ath5k_hw_setup_tx_queue(struct ath5k_hw *ah, enum ath5k_tx_queue queue_type,
struct ath5k_txq_info *queue_info)
{
unsigned int queue;
int ret;
/* We only use one queue */
queue = 0;
/*
* Setup internal queue structure
*/