diff options
author | Fry, Donald H <donald.h.fry@intel.com> | 2011-09-15 14:46:38 -0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2011-09-19 15:58:29 -0400 |
commit | b8c2b05e14fbe1ba3fffa31931a1a9ef8da933f9 (patch) | |
tree | 9dd9dc942488a53d481716effe910e2acd80cf7c /drivers/net/wireless/iwlwifi/iwl-2000.c | |
parent | 5092e47afcbe6c470094c32095794b16083dfac2 (diff) |
iwlagn: simplify chain_noise_num_beacons indirection
chain_noise_num_beacons is set and never changes. Use the #define
rather than 3 levels of indirection.
Signed-off-by: Don Fry <donald.h.fry@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-2000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-2000.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-2000.c b/drivers/net/wireless/iwlwifi/iwl-2000.c index 057939803d68..ba138a572e80 100644 --- a/drivers/net/wireless/iwlwifi/iwl-2000.c +++ b/drivers/net/wireless/iwlwifi/iwl-2000.c | |||
@@ -211,7 +211,6 @@ static struct iwl_base_params iwl2000_base_params = { | |||
211 | .max_ll_items = OTP_MAX_LL_ITEMS_2x00, | 211 | .max_ll_items = OTP_MAX_LL_ITEMS_2x00, |
212 | .shadow_ram_support = true, | 212 | .shadow_ram_support = true, |
213 | .led_compensation = 51, | 213 | .led_compensation = 51, |
214 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | ||
215 | .adv_thermal_throttle = true, | 214 | .adv_thermal_throttle = true, |
216 | .support_ct_kill_exit = true, | 215 | .support_ct_kill_exit = true, |
217 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 216 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, |
@@ -231,7 +230,6 @@ static struct iwl_base_params iwl2030_base_params = { | |||
231 | .max_ll_items = OTP_MAX_LL_ITEMS_2x00, | 230 | .max_ll_items = OTP_MAX_LL_ITEMS_2x00, |
232 | .shadow_ram_support = true, | 231 | .shadow_ram_support = true, |
233 | .led_compensation = 57, | 232 | .led_compensation = 57, |
234 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | ||
235 | .adv_thermal_throttle = true, | 233 | .adv_thermal_throttle = true, |
236 | .support_ct_kill_exit = true, | 234 | .support_ct_kill_exit = true, |
237 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 235 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, |