summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/iwlwifi/iwl-dev.h
diff options
context:
space:
mode:
authorJohannes Berg <johannes.berg@intel.com>2012-03-07 09:52:21 -0800
committerJohn W. Linville <linville@tuxdriver.com>2012-03-08 13:59:49 -0500
commit9563fe1696fa0ced8cfa3f935736d4662a81c1c3 (patch)
treef8c5f401a6b2c9299dea9d96fdd43f87d39b6c25 /drivers/net/wireless/iwlwifi/iwl-dev.h
parent51dc51d12bd609644bbe9877825a1a25a6016639 (diff)
downloadlinux-9563fe1696fa0ced8cfa3f935736d4662a81c1c3.tar.gz
linux-9563fe1696fa0ced8cfa3f935736d4662a81c1c3.tar.bz2
linux-9563fe1696fa0ced8cfa3f935736d4662a81c1c3.zip
iwlwifi: remove unused max_nrg_cck from sensitivity and constify
The sensitivity parameters are never modified, so they should be const. Also remove the unused max_nrg_cck value to save some space. Signed-off-by: Johannes Berg <johannes.berg@intel.com> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@intel.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/iwlwifi/iwl-dev.h')
-rw-r--r--drivers/net/wireless/iwlwifi/iwl-dev.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h
index 74429702b130..c3f372e2c142 100644
--- a/drivers/net/wireless/iwlwifi/iwl-dev.h
+++ b/drivers/net/wireless/iwlwifi/iwl-dev.h
@@ -294,7 +294,6 @@ struct iwl_vif_priv {
struct iwl_sensitivity_ranges {
u16 min_nrg_cck;
- u16 max_nrg_cck;
u16 nrg_th_cck;
u16 nrg_th_ofdm;