summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/ath/ath9k/ar9003_phy.c
diff options
context:
space:
mode:
authorZefir Kurtisi <zefir.kurtisi@neratec.com>2012-04-10 13:18:04 +0200
committerJohn W. Linville <linville@tuxdriver.com>2012-04-12 15:10:32 -0400
commit997002785e3f932fd26a0f9c3cd91d4b4861ed29 (patch)
tree76abbdd9bc45b662c65d67945af234494dcc0c06 /drivers/net/wireless/ath/ath9k/ar9003_phy.c
parent35bcd591132c2d4d2a31843063c0f9e64e5be751 (diff)
downloadlinux-997002785e3f932fd26a0f9c3cd91d4b4861ed29.tar.gz
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/ar9003_phy.c')
-rw-r--r--drivers/net/wireless/ath/ath9k/ar9003_phy.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9003_phy.c b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
index 79070bf04eab..04d12252731c 100644
--- a/drivers/net/wireless/ath/ath9k/ar9003_phy.c
+++ b/drivers/net/wireless/ath/ath9k/ar9003_phy.c
@@ -152,7 +152,6 @@ static int ar9003_hw_set_channel(struct ath_hw *ah, struct ath9k_channel *chan)
REG_WRITE(ah, AR_PHY_65NM_CH0_SYNTH7, reg32);
ah->curchan = chan;
- ah->curchan_rad_index = -1;
return 0;
}