On Sun, Jun 15, 2008 at 11:38 PM, drago01 <drago01@xxxxxxxxx> wrote: > Hi, > while reading throught the iwlwifi code I spotted this code which does nothing. > > The attached patch removes it, when the function is turned into an non > nop it can be re added. > > ----------- > Signed-off-by: Adel Gadllah <adel.gadllah@xxxxxxxxx> > > diff --git a/drivers/net/wireless/iwlwifi/iwl4965-base.c > b/drivers/net/wireless/iwlwifi/iwl4965-base.c > index f591168..2184a0b 100644 > --- a/drivers/net/wireless/iwlwifi/iwl4965-base.c > +++ b/drivers/net/wireless/iwlwifi/iwl4965-base.c > @@ -3547,9 +3547,6 @@ static int iwl4965_mac_get_tx_stats(struct > ieee80211_hw *hw, > static int iwl4965_mac_get_stats(struct ieee80211_hw *hw, > struct ieee80211_low_level_stats *stats) > { > - struct iwl_priv *priv = hw->priv; > - > - priv = hw->priv; > IWL_DEBUG_MAC80211("enter\n"); > IWL_DEBUG_MAC80211("leave\n"); > > @@ -3558,9 +3555,6 @@ static int iwl4965_mac_get_stats(struct ieee80211_hw *hw, > > static u64 iwl4965_mac_get_tsf(struct ieee80211_hw *hw) > { > - struct iwl_priv *priv; > - > - priv = hw->priv; > IWL_DEBUG_MAC80211("enter\n"); > IWL_DEBUG_MAC80211("leave\n"); > -- > To unsubscribe from this list: send the line "unsubscribe linux-wireless" in > the body of a message to majordomo@xxxxxxxxxxxxxxx > More majordomo info at http://vger.kernel.org/majordomo-info.html > sorry have already some conflict patch in the pipe Thank Tomas -- To unsubscribe from this list: send the line "unsubscribe linux-wireless" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html