diff options
author | Felix Fietkau <nbd@openwrt.org> | 2013-12-14 21:03:40 +0400 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-12-19 00:23:26 +0400 |
commit | 787e05360bbe54b0cd95f2f424ca3c3d1d3639db (patch) | |
tree | 5621339b64b8ad901391259866174974508c3f9e /drivers/net/wireless/ath/ath9k/ar9002_hw.c | |
parent | 60c4bf29747ebcc2c467c1143a512cee92fc673f (diff) | |
download | linux-787e05360bbe54b0cd95f2f424ca3c3d1d3639db.tar.xz |
ath9k_hw: remove ah->config.pcie_clock_req
It is unused
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/ath/ath9k/ar9002_hw.c')
-rw-r--r-- | drivers/net/wireless/ath/ath9k/ar9002_hw.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/drivers/net/wireless/ath/ath9k/ar9002_hw.c b/drivers/net/wireless/ath/ath9k/ar9002_hw.c index 5c95fd9e9c9e..149aba3c7298 100644 --- a/drivers/net/wireless/ath/ath9k/ar9002_hw.c +++ b/drivers/net/wireless/ath/ath9k/ar9002_hw.c @@ -32,12 +32,8 @@ static int ar9002_hw_init_mode_regs(struct ath_hw *ah) return 0; } - if (ah->config.pcie_clock_req) - INIT_INI_ARRAY(&ah->iniPcieSerdes, - ar9280PciePhy_clkreq_off_L1_9280); - else - INIT_INI_ARRAY(&ah->iniPcieSerdes, - ar9280PciePhy_clkreq_always_on_L1_9280); + INIT_INI_ARRAY(&ah->iniPcieSerdes, + ar9280PciePhy_clkreq_always_on_L1_9280); if (AR_SREV_9287_11_OR_LATER(ah)) { INIT_INI_ARRAY(&ah->iniModes, ar9287Modes_9287_1_1); |