Skip to content

Commit 6783f10

Browse files
Jiri Slaby (SUSE)kvalo
authored andcommitted
wifi: ath5k: remove unused ath5k_eeprom_info::ee_antenna
clang-struct [1] found that ee_antenna in struct ath5k_eeprom_info is unused. The commit 1048643 ("ath5k: Clean up eeprom parsing and add missing calibration data") added it, but did not use it in any way. Neither, there is a later user. So remove that unused member. [1] https://github.com/jirislaby/clang-struct Signed-off-by: Jiri Slaby (SUSE) <[email protected]> Cc: Felix Fietkau <[email protected]> Cc: Nick Kossifidis <[email protected]> Cc: Luis Chamberlain <[email protected]> Cc: Kalle Valo <[email protected]> Cc: [email protected] Signed-off-by: Kalle Valo <[email protected]> Link: https://lore.kernel.org/r/[email protected]
1 parent 63b8966 commit 6783f10

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

drivers/net/wireless/ath/ath5k/eeprom.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,4 @@ struct ath5k_eeprom_info {
489489

490490
/* Spur mitigation data (fbin values for spur channels) */
491491
u16 ee_spur_chans[AR5K_EEPROM_N_SPUR_CHANS][AR5K_EEPROM_N_FREQ_BANDS];
492-
493-
/* Antenna raw switch tables */
494-
u32 ee_antenna[AR5K_EEPROM_N_MODES][AR5K_ANT_MAX];
495492
};

0 commit comments

Comments
 (0)