iwlagn: remove set but unused vars
authorJohannes Berg <johannes.berg@intel.com>
Wed, 11 May 2011 10:29:25 +0000 (03:29 -0700)
committerWey-Yi Guy <wey-yi.w.guy@intel.com>
Fri, 13 May 2011 19:02:59 +0000 (12:02 -0700)
commit70817b5e14760dad49a067fc3dd137bccd3c2960
treeb170c40a5a7d3cbacca2cafc09816846feeb7889
parent3083d03c215a2d1642dd12ede7ad61e24601b583
iwlagn: remove set but unused vars

gcc is warning that a few variables in rate
scaling are set but never otherwise used.
This pointed out a few simplifications.

Signed-off-by: Johannes Berg <johannes.berg@intel.com>
Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com>
drivers/net/wireless/iwlwifi/iwl-agn-rs.c
drivers/net/wireless/iwlwifi/iwl-eeprom.c