"Jiri Slaby (SUSE)" <jirislaby@xxxxxxxxxx> writes: > clang-struct [1] found that ee_antenna in struct ath5k_eeprom_info is > unused. The commit 1048643ea94d ("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 clang-struct looks really nice, especially if it can also find unused structures. What about unused defines or enums, any chance to find those in the future? :) -- https://patchwork.kernel.org/project/linux-wireless/list/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches