Search Linux Wireless

Re: [PATCH] iwl4965: remove useless code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux