From: Rajkumar Manoharan Date: Mon, 25 Apr 2011 10:26:16 +0000 (+0530) Subject: wireless: Fix warnings due to -Wunused-but-set-variable X-Git-Tag: v3.0-rc1~377^2~54^2^2~90 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6572e91d5fa61bb3f879a00b96d763c566ced6cb;p=pandora-kernel.git 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 Signed-off-by: John W. Linville --- Reading git-diff-tree failed