ath9k_hw: remove ah->config.pcie_clock_req
authorFelix Fietkau <nbd@openwrt.org>
Sat, 14 Dec 2013 17:03:40 +0000 (18:03 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Dec 2013 20:23:26 +0000 (15:23 -0500)
It is unused

Signed-off-by: Felix Fietkau <nbd@openwrt.org>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/ar9002_hw.c
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/hw.h

index 5c95fd9e9c9e9c861edb283a2a8cfbf4a9b5e3b9..149aba3c7298c3af99f8f4d54b37eaf10da606ef 100644 (file)
@@ -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);
index c486d0f8b3d3682971de4fb68b29033fce0878fe..954e2120d1bee6d0f8e84332110ab841bd14f75d 100644 (file)
@@ -446,7 +446,6 @@ static void ath9k_hw_init_config(struct ath_hw *ah)
        ah->config.additional_swba_backoff = 0;
        ah->config.ack_6mb = 0x0;
        ah->config.cwm_ignore_extcca = 0;
-       ah->config.pcie_clock_req = 0;
        ah->config.analog_shiftreg = 1;
 
        for (i = 0; i < AR_EEPROM_MODAL_SPURS; i++) {
index 3a706823650798af683da21f0a7418f384cbc375..b8e2476c9d8009b525cdcc138b274b80d3a0504c 100644 (file)
@@ -283,7 +283,6 @@ struct ath9k_ops_config {
        int additional_swba_backoff;
        int ack_6mb;
        u32 cwm_ignore_extcca;
-       u8 pcie_clock_req;
        u32 pcie_waen;
        u8 analog_shiftreg;
        u32 ofdm_trig_low;