Commit 896ff260 authored by Luis R. Rodriguez's avatar Luis R. Rodriguez Committed by John W. Linville

ath9k_hw: remove unused modesIndex param from ath9k_hw_write_regs()

Signed-off-by: default avatarLuis R. Rodriguez <lrodriguez@atheros.com>
Signed-off-by: default avatarJohn W. Linville <linville@tuxdriver.com>
parent ae478cf6
...@@ -1525,7 +1525,7 @@ static int ath9k_hw_process_ini(struct ath_hw *ah, ...@@ -1525,7 +1525,7 @@ static int ath9k_hw_process_ini(struct ath_hw *ah,
DO_DELAY(regWrites); DO_DELAY(regWrites);
} }
ath9k_hw_write_regs(ah, modesIndex, freqIndex, regWrites); ath9k_hw_write_regs(ah, freqIndex, regWrites);
if (AR_SREV_9271_10(ah)) if (AR_SREV_9271_10(ah))
REG_WRITE_ARRAY(&ah->iniModes_9271_1_0_only, REG_WRITE_ARRAY(&ah->iniModes_9271_1_0_only,
......
...@@ -45,15 +45,13 @@ ...@@ -45,15 +45,13 @@
* ath9k_hw_write_regs - ?? * ath9k_hw_write_regs - ??
* *
* @ah: atheros hardware structure * @ah: atheros hardware structure
* @modesIndex:
* @freqIndex: * @freqIndex:
* @regWrites: * @regWrites:
* *
* Used for both the chipsets with an external AR2133/AR5133 radios and * Used for both the chipsets with an external AR2133/AR5133 radios and
* single-chip devices. * single-chip devices.
*/ */
void ath9k_hw_write_regs(struct ath_hw *ah, u32 modesIndex, void ath9k_hw_write_regs(struct ath_hw *ah, u32 freqIndex, int regWrites)
u32 freqIndex, int regWrites)
{ {
REG_WRITE_ARRAY(&ah->iniBB_RfGain, freqIndex, regWrites); REG_WRITE_ARRAY(&ah->iniBB_RfGain, freqIndex, regWrites);
} }
......
...@@ -18,8 +18,7 @@ ...@@ -18,8 +18,7 @@
#define PHY_H #define PHY_H
/* Common between single chip and non single-chip solutions */ /* Common between single chip and non single-chip solutions */
void ath9k_hw_write_regs(struct ath_hw *ah, u32 modesIndex, void ath9k_hw_write_regs(struct ath_hw *ah, u32 freqIndex, int regWrites);
u32 freqIndex, int regWrites);
/* Single chip radio settings */ /* Single chip radio settings */
int ath9k_hw_ar9280_set_channel(struct ath_hw *ah, struct ath9k_channel *chan); int ath9k_hw_ar9280_set_channel(struct ath_hw *ah, struct ath9k_channel *chan);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment