All of lore.kernel.org
 help / color / mirror / Atom feed
From: Zefir Kurtisi <zefir.kurtisi@neratec.com>
To: Felix Fietkau <nbd@openwrt.org>
Cc: linux-wireless@vger.kernel.org, linville@tuxdriver.com,
	mcgrof@qca.qualcomm.com
Subject: Re: [PATCH 1/4] ath9k_hw: remove enable_32kHz_clock
Date: Fri, 13 Apr 2012 17:10:42 +0200	[thread overview]
Message-ID: <4F8841F2.7030105@neratec.com> (raw)
In-Reply-To: <1334262958-90777-1-git-send-email-nbd@openwrt.org>

On 04/12/2012 10:35 PM, Felix Fietkau wrote:
> It is unused and useless
> 
> Signed-off-by: Felix Fietkau <nbd@openwrt.org>
> ---
>  drivers/net/wireless/ath/ath9k/hw.c |    1 -
>  drivers/net/wireless/ath/ath9k/hw.h |    5 -----
>  2 files changed, 0 insertions(+), 6 deletions(-)
> 
> diff --git a/drivers/net/wireless/ath/ath9k/hw.c b/drivers/net/wireless/ath/ath9k/hw.c
> index d1345a8..6fa8128 100644
> --- a/drivers/net/wireless/ath/ath9k/hw.c
> +++ b/drivers/net/wireless/ath/ath9k/hw.c
> @@ -445,7 +445,6 @@ static void ath9k_hw_init_defaults(struct ath_hw *ah)
>  		AR_STA_ID1_MCAST_KSRCH;
>  	if (AR_SREV_9100(ah))
>  		ah->sta_id1_defaults |= AR_STA_ID1_AR9100_BA_FIX;
> -	ah->enable_32kHz_clock = DONT_USE_32KHZ;
>  	ah->slottime = ATH9K_SLOT_TIME_9;
>  	ah->globaltxtimeout = (u32) -1;
>  	ah->power_mode = ATH9K_PM_UNDEFINED;
> diff --git a/drivers/net/wireless/ath/ath9k/hw.h b/drivers/net/wireless/ath/ath9k/hw.h
> index aa1680a..d85a8de 100644
> --- a/drivers/net/wireless/ath/ath9k/hw.h
> +++ b/drivers/net/wireless/ath/ath9k/hw.h
> @@ -762,11 +762,6 @@ struct ath_hw {
>  
>  	u32 sta_id1_defaults;
>  	u32 misc_mode;
> -	enum {
> -		AUTO_32KHZ,
> -		USE_32KHZ,
> -		DONT_USE_32KHZ,
> -	} enable_32kHz_clock;
>  
>  	/* Private to hardware code */
>  	struct ath_hw_private_ops private_ops;

Hi Felix,

that went already in as part of '[PATCH] ath9k: remove dead code' some
days ago [1].

Cheers, Zefir


[1] http://article.gmane.org/gmane.linux.kernel.wireless.general/88559

      parent reply	other threads:[~2012-04-13 15:10 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-12 20:35 [PATCH 1/4] ath9k_hw: remove enable_32kHz_clock Felix Fietkau
2012-04-12 20:35 ` [PATCH 2/4] ath9k_hw: add support for 8 AP mode interfaces Felix Fietkau
2012-04-12 20:35   ` [PATCH 3/4] ath9k: do not register LEDs on AR913x Felix Fietkau
2012-04-12 20:35     ` [PATCH 4/4] ath9k: optimize the hardware hang check Felix Fietkau
2012-04-13 15:10 ` Zefir Kurtisi [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F8841F2.7030105@neratec.com \
    --to=zefir.kurtisi@neratec.com \
    --cc=linux-wireless@vger.kernel.org \
    --cc=linville@tuxdriver.com \
    --cc=mcgrof@qca.qualcomm.com \
    --cc=nbd@openwrt.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.