wireless: Fix warnings due to -Wunused-but-set-variable
authorRajkumar Manoharan <rmanoharan@atheros.com>
Mon, 25 Apr 2011 10:26:16 +0000 (15:56 +0530)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 10 May 2011 19:53:47 +0000 (15:53 -0400)
commit6572e91d5fa61bb3f879a00b96d763c566ced6cb
tree90702b81df68da39c5475af3555c624871be209a
parentd21844c7c23a71acea6fd68365b09b40e252a876
wireless: Fix warnings due to -Wunused-but-set-variable

These warnings are exposed by gcc 4.6.
net/wireless/reg.c: In function 'freq_reg_info_regd':
net/wireless/reg.c:675:38: warning: variable 'pr' set but not used
[-Wunused-but-set-variable]
net/wireless/lib80211_crypt_wep.c: In function 'lib80211_wep_build_iv':
net/wireless/lib80211_crypt_wep.c:99:12: warning: variable 'len' set but
not used [-Wunused-but-set-variable]

Signed-off-by: Rajkumar Manoharan <rmanoharan@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
net/wireless/lib80211_crypt_wep.c
net/wireless/reg.c