carl9170: fix -Wunused-but-set-variable warnings
authorChristian Lamparter <chunkeey@googlemail.com>
Sat, 7 May 2011 09:13:37 +0000 (11:13 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 May 2011 19:54:47 +0000 (15:54 -0400)
commit6490e334bc3af960965adfcef5acf6e5cbdd925c
tree8876339d5c04513f28e2929827b6adf1f7346abd
parentfc7707a469785fe786ddc66d723c150226ddc40e
carl9170: fix -Wunused-but-set-variable warnings

tx.c: In function ‘carl9170_tx_accounting_free’:
tx.c:159:28: warning: variable ‘txinfo’ set but not used
tx.c: In function ‘carl9170_tx_status_process_ampdu’:
tx.c:383:27: warning: variable ‘ar_info’ set but not used
tx.c: In function ‘__carl9170_tx_process_status’:
tx.c:626:27: warning: variable ‘arinfo’ set but not used
tx.c: In function ‘carl9170_tx_ampdu_queue’:
tx.c:1324:15: warning: variable ‘max’ set but not used

Signed-off-by: Christian Lamparter <chunkeey@googlemail.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/carl9170/tx.c