[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:
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user