Search Linux Wireless

Re: [PATCH 1/1] iwl3945: iwl3945_good_plcp_health might not used

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

 



On Thu, Feb 10, 2011 at 08:16:33AM -0800, Wey-Yi Guy wrote:
> remove plcp check for 3945, mark the function __maybe_unused
> 
> Signed-off-by: Wey-Yi Guy <wey-yi.w.guy@xxxxxxxxx>
> Cc: <stable@xxxxxxxxxx> # .35+: c91d015: iwl3945: remove plcp check
> Cc: stable@xxxxxxxxxx  # 2.6.35+
> ---
>  drivers/net/wireless/iwlwifi/iwl-3945.c |    2 +-
>  1 files changed, 1 insertions(+), 1 deletions(-)
> 
> diff --git a/drivers/net/wireless/iwlwifi/iwl-3945.c b/drivers/net/wireless/iwlwifi/iwl-3945.c
> index 3eb14fd..eb82341 100644
> --- a/drivers/net/wireless/iwlwifi/iwl-3945.c
> +++ b/drivers/net/wireless/iwlwifi/iwl-3945.c
> @@ -408,7 +408,7 @@ static void iwl3945_accumulative_statistics(struct iwl_priv *priv,
>   * When the plcp error is exceeding the thresholds, reset the radio
>   * to improve the throughput.
>   */
> -static bool iwl3945_good_plcp_health(struct iwl_priv *priv,
> +static bool __maybe_unused iwl3945_good_plcp_health(struct iwl_priv *priv,
>  				struct iwl_rx_packet *pkt)
>  {
>  	bool rc = true;

I was aware about that warning, but did not fix it, because when I compile
kernel, I can see lot's of other warnings and I have plan to clean
that iwl3945 code.

Does it something that really need to be fixed in -stable? I mean
should we bother stable maintainers about that?

Stanislaw
--
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