diff options
author | Winkler, Tomas <tomas.winkler@intel.com> | 2009-01-08 13:19:52 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2009-01-29 16:00:11 -0500 |
commit | f5965955e0107b116b379cccb94de612281bdf55 (patch) | |
tree | 5d3c576f316c5c07eaa19b6af00764b21bc332ed | |
parent | fa77533e2e1e5c7d9d80618db21266b9eac1b205 (diff) |
iwl3945: kill hw_params.tx_ant_num
This patch removes tx_ant_num for hw_params structure. It is not used.
Signed-off-by: Tomas Winkler <tomas.winkler@intel.com>
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-3945.c | 1 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-dev.h | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c index d4ee15ed5e4c..8efe33805e11 100644 --- a/drivers/net/wireless/iwlwifi/iwl-3945.c +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c | |||
@@ -2492,7 +2492,6 @@ int iwl3945_hw_set_hw_params(struct iwl_priv *priv) | |||
2492 | priv->hw_params.max_stations = IWL3945_STATION_COUNT; | 2492 | priv->hw_params.max_stations = IWL3945_STATION_COUNT; |
2493 | priv->hw_params.bcast_sta_id = IWL3945_BROADCAST_ID; | 2493 | priv->hw_params.bcast_sta_id = IWL3945_BROADCAST_ID; |
2494 | 2494 | ||
2495 | priv->hw_params.tx_ant_num = 2; | ||
2496 | return 0; | 2495 | return 0; |
2497 | } | 2496 | } |
2498 | 2497 | ||
diff --git a/drivers/net/wireless/iwlwifi/iwl-dev.h b/drivers/net/wireless/iwlwifi/iwl-dev.h index 9b9d7435321b..a092401fd9c0 100644 --- a/drivers/net/wireless/iwlwifi/iwl-dev.h +++ b/drivers/net/wireless/iwlwifi/iwl-dev.h | |||
@@ -595,9 +595,6 @@ struct iwl_hw_params { | |||
595 | u32 ct_kill_threshold; /* value in hw-dependent units */ | 595 | u32 ct_kill_threshold; /* value in hw-dependent units */ |
596 | u32 calib_init_cfg; | 596 | u32 calib_init_cfg; |
597 | const struct iwl_sensitivity_ranges *sens; | 597 | const struct iwl_sensitivity_ranges *sens; |
598 | |||
599 | /* for 3945 */ | ||
600 | u16 tx_ant_num; | ||
601 | }; | 598 | }; |
602 | 599 | ||
603 | 600 | ||