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-6000.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-6000.c')
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-6000.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-6000.c b/drivers/net/wireless/iwlwifi/iwl-6000.c index 2a98e65ca84c..d44378527380 100644 --- a/drivers/net/wireless/iwlwifi/iwl-6000.c +++ b/drivers/net/wireless/iwlwifi/iwl-6000.c | |||
@@ -305,7 +305,6 @@ static struct iwl_base_params iwl6000_base_params = { | |||
305 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 305 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
306 | .shadow_ram_support = true, | 306 | .shadow_ram_support = true, |
307 | .led_compensation = 51, | 307 | .led_compensation = 51, |
308 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | ||
309 | .adv_thermal_throttle = true, | 308 | .adv_thermal_throttle = true, |
310 | .support_ct_kill_exit = true, | 309 | .support_ct_kill_exit = true, |
311 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 310 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, |
@@ -323,7 +322,6 @@ static struct iwl_base_params iwl6050_base_params = { | |||
323 | .max_ll_items = OTP_MAX_LL_ITEMS_6x50, | 322 | .max_ll_items = OTP_MAX_LL_ITEMS_6x50, |
324 | .shadow_ram_support = true, | 323 | .shadow_ram_support = true, |
325 | .led_compensation = 51, | 324 | .led_compensation = 51, |
326 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | ||
327 | .adv_thermal_throttle = true, | 325 | .adv_thermal_throttle = true, |
328 | .support_ct_kill_exit = true, | 326 | .support_ct_kill_exit = true, |
329 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 327 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, |
@@ -340,7 +338,6 @@ static struct iwl_base_params iwl6000_g2_base_params = { | |||
340 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, | 338 | .max_ll_items = OTP_MAX_LL_ITEMS_6x00, |
341 | .shadow_ram_support = true, | 339 | .shadow_ram_support = true, |
342 | .led_compensation = 57, | 340 | .led_compensation = 57, |
343 | .chain_noise_num_beacons = IWL_CAL_NUM_BEACONS, | ||
344 | .adv_thermal_throttle = true, | 341 | .adv_thermal_throttle = true, |
345 | .support_ct_kill_exit = true, | 342 | .support_ct_kill_exit = true, |
346 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, | 343 | .plcp_delta_threshold = IWL_MAX_PLCP_ERR_THRESHOLD_DEF, |