diff options
author | Zhu Yi <yi.zhu@intel.com> | 2007-11-07 01:06:27 -0500 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 18:04:35 -0500 |
commit | 4900d6daadea8b32b8a6312e793977e18343cfe5 (patch) | |
tree | b2f392588e40c3d3a9728795db9e9312fbb6762d | |
parent | bb8c093bdea62f2ae371b98ebff81b0407852faf (diff) |
remove unused iwl4965_init_hw_rates function
The patch removes the unused function to fix a recursive bug caused
by namespace change.
Signed-off-by: Zhu Yi <yi.zhu@intel.com>
Signed-off-by: Reinette Chatre <reinette.chatre@intel.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl-4965.c | 8 | ||||
-rw-r--r-- | drivers/net/wireless/iwlwifi/iwl4965-base.c | 2 |
2 files changed, 0 insertions, 10 deletions
diff --git a/drivers/net/wireless/iwlwifi/iwl-4965.c b/drivers/net/wireless/iwlwifi/iwl-4965.c index f7c5ac3072c7..9b8560d3315a 100644 --- a/drivers/net/wireless/iwlwifi/iwl-4965.c +++ b/drivers/net/wireless/iwlwifi/iwl-4965.c | |||
@@ -4269,14 +4269,6 @@ static int iwl4965_tx_queue_agg_disable(struct iwl4965_priv *priv, u16 txq_id, | |||
4269 | 4269 | ||
4270 | #endif/* CONFIG_IWL4965_HT_AGG */ | 4270 | #endif/* CONFIG_IWL4965_HT_AGG */ |
4271 | #endif /* CONFIG_IWL4965_HT */ | 4271 | #endif /* CONFIG_IWL4965_HT */ |
4272 | /* | ||
4273 | * RATE SCALE CODE | ||
4274 | */ | ||
4275 | int iwl4965_init_hw_rates(struct iwl4965_priv *priv, struct ieee80211_rate *rates) | ||
4276 | { | ||
4277 | return 0; | ||
4278 | } | ||
4279 | |||
4280 | 4272 | ||
4281 | /** | 4273 | /** |
4282 | * iwl4965_add_station - Initialize a station's hardware rate table | 4274 | * iwl4965_add_station - Initialize a station's hardware rate table |
diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c b/drivers/net/wireless/iwlwifi/iwl4965-base.c index 41cabd618496..7d0b7c994d98 100644 --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c | |||
@@ -5633,8 +5633,6 @@ static void iwl4965_init_hw_rates(struct iwl4965_priv *priv, | |||
5633 | if (IWL_BASIC_RATES_MASK & (1 << i)) | 5633 | if (IWL_BASIC_RATES_MASK & (1 << i)) |
5634 | rates[i].flags |= IEEE80211_RATE_BASIC; | 5634 | rates[i].flags |= IEEE80211_RATE_BASIC; |
5635 | } | 5635 | } |
5636 | |||
5637 | iwl4965_init_hw_rates(priv, rates); | ||
5638 | } | 5636 | } |
5639 | 5637 | ||
5640 | /** | 5638 | /** |