mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-05 06:08:22 +00:00
ath5k: eeprom: Remove unneeded variable
Remove unneeded ret variable from ath5k_eeprom_read_spur_chans() Signed-off-by: Saurav Girepunje <saurav.girepunje@gmail.com> Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
This commit is contained in:
parent
85630469d2
commit
d77ef82c72
1 changed files with 2 additions and 2 deletions
|
@ -1707,7 +1707,7 @@ ath5k_eeprom_read_spur_chans(struct ath5k_hw *ah)
|
|||
struct ath5k_eeprom_info *ee = &ah->ah_capabilities.cap_eeprom;
|
||||
u32 offset;
|
||||
u16 val;
|
||||
int ret = 0, i;
|
||||
int i;
|
||||
|
||||
offset = AR5K_EEPROM_CTL(ee->ee_version) +
|
||||
AR5K_EEPROM_N_CTLS(ee->ee_version);
|
||||
|
@ -1730,7 +1730,7 @@ ath5k_eeprom_read_spur_chans(struct ath5k_hw *ah)
|
|||
}
|
||||
}
|
||||
|
||||
return ret;
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue