]> err.no Git - linux-2.6/commitdiff
remove unused iwl4965_init_hw_rates function
authorZhu Yi <yi.zhu@intel.com>
Wed, 7 Nov 2007 06:06:27 +0000 (22:06 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 28 Jan 2008 23:04:35 +0000 (15:04 -0800)
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>
drivers/net/wireless/iwlwifi/iwl-4965.c
drivers/net/wireless/iwlwifi/iwl4965-base.c

index f7c5ac3072c72fb6996dcb0ba2aa4075fac29e6e..9b8560d3315aa2dcfdea47fb9151795fcd8d2609 100644 (file)
@@ -4269,14 +4269,6 @@ static int iwl4965_tx_queue_agg_disable(struct iwl4965_priv *priv, u16 txq_id,
 
 #endif/* CONFIG_IWL4965_HT_AGG */
 #endif /* CONFIG_IWL4965_HT */
-/*
- * RATE SCALE CODE
- */
-int iwl4965_init_hw_rates(struct iwl4965_priv *priv, struct ieee80211_rate *rates)
-{
-       return 0;
-}
-
 
 /**
  * iwl4965_add_station - Initialize a station's hardware rate table
index 41cabd6184965d0aa5d69203fff650ae03012269..7d0b7c994d9839a6c71f028a9ab027c05928ab3b 100644 (file)
@@ -5633,8 +5633,6 @@ static void iwl4965_init_hw_rates(struct iwl4965_priv *priv,
                if (IWL_BASIC_RATES_MASK & (1 << i))
                        rates[i].flags |= IEEE80211_RATE_BASIC;
        }
-
-       iwl4965_init_hw_rates(priv, rates);
 }
 
 /**