diff options
author | Zefir Kurtisi <zefir.kurtisi@neratec.com> | 2012-04-10 15:18:04 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2012-04-12 23:10:32 +0400 |
commit | 997002785e3f932fd26a0f9c3cd91d4b4861ed29 (patch) | |
tree | 76abbdd9bc45b662c65d67945af234494dcc0c06 /drivers/net/wireless/ath/ath9k/ar9002_phy.c | |
parent | 35bcd591132c2d4d2a31843063c0f9e64e5be751 (diff) | |
download | linux-997002785e3f932fd26a0f9c3cd91d4b4861ed29.tar.xz |
ath9k: remove dead code
Clean up some orphaned code lines containing
* unused variables (not referenced / write-only)
* non-implemented function prototypes
Signed-off-by: Zefir Kurtisi <zefir.kurtisi@neratec.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9002_phy.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9002_phy.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_phy.c b/drivers/net/wireless/ath/ath9k/ar9002_phy.c index 3cbbb033fcea..846dd7974eb8 100644 --- a/drivers/net/wireless/ath/ath9k/ar9002_phy.c +++ b/drivers/net/wireless/ath/ath9k/ar9002_phy.c @@ -152,7 +152,6 @@ static int ar9002_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan) REG_WRITE(ah, AR_PHY_SYNTH_CONTROL, reg32); ah->curchan = chan; - ah->curchan_rad_index = -1; return 0; } |