]> Pileus Git - ~andy/linux/commitdiff
ath9k_hw: remove unused modesIndex param from ath9k_hw_write_regs()
authorLuis R. Rodriguez <lrodriguez@atheros.com>
Mon, 19 Oct 2009 06:33:44 +0000 (02:33 -0400)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 30 Oct 2009 20:50:38 +0000 (16:50 -0400)
Signed-off-by: Luis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/ath/ath9k/hw.c
drivers/net/wireless/ath/ath9k/phy.c
drivers/net/wireless/ath/ath9k/phy.h

index f73c07dfe65f5c59eb71768272340d69a7ee70b0..7300db9f8117193b25f6c9ffa60b4c9ffe107a8b 100644 (file)
@@ -1525,7 +1525,7 @@ static int ath9k_hw_process_ini(struct ath_hw *ah,
                DO_DELAY(regWrites);
        }
 
-       ath9k_hw_write_regs(ah, modesIndex, freqIndex, regWrites);
+       ath9k_hw_write_regs(ah, freqIndex, regWrites);
 
        if (AR_SREV_9271_10(ah))
                REG_WRITE_ARRAY(&ah->iniModes_9271_1_0_only,
index 8e4c3bd84bc0b9f382b96fcdfd79ff7525611127..a15532eaae19d4909d0e49b09b3f80e6ac3551b8 100644 (file)
  * ath9k_hw_write_regs - ??
  *
  * @ah: atheros hardware structure
- * @modesIndex:
  * @freqIndex:
  * @regWrites:
  *
  * Used for both the chipsets with an external AR2133/AR5133 radios and
  * single-chip devices.
  */
-void ath9k_hw_write_regs(struct ath_hw *ah, u32 modesIndex,
-                        u32 freqIndex, int regWrites)
+void ath9k_hw_write_regs(struct ath_hw *ah, u32 freqIndex, int regWrites)
 {
        REG_WRITE_ARRAY(&ah->iniBB_RfGain, freqIndex, regWrites);
 }
index ba297bef7dc594fa366890bac2ebda7cbf3395d7..dc145a135dc7c2f20b92284caf785f4d8c2a529b 100644 (file)
@@ -18,8 +18,7 @@
 #define PHY_H
 
 /* Common between single chip and non single-chip solutions */
-void ath9k_hw_write_regs(struct ath_hw *ah, u32 modesIndex,
-                        u32 freqIndex, int regWrites);
+void ath9k_hw_write_regs(struct ath_hw *ah, u32 freqIndex, int regWrites);
 
 /* Single chip radio settings */
 int ath9k_hw_ar9280_set_channel(struct ath_hw *ah, struct ath9k_channel *chan);