Re: [PATCH] ath5k: remove unused ath5k_eeprom_info::ee_antenna

From: Kalle Valo
Date: Thu Dec 07 2023 - 05:16:04 EST


"Jiri Slaby (SUSE)" <jirislaby@xxxxxxxxxx> wrote:

> 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
>
> Signed-off-by: Jiri Slaby (SUSE) <jirislaby@xxxxxxxxxx>
> Cc: Felix Fietkau <nbd@xxxxxxxxxxx>
> Cc: Nick Kossifidis <mickflemm@xxxxxxxxx>
> Cc: Luis Chamberlain <mcgrof@xxxxxxxxxx>
> Cc: Kalle Valo <kvalo@xxxxxxxxxx>
> Cc: linux-wireless@xxxxxxxxxxxxxxx
> Signed-off-by: Kalle Valo <quic_kvalo@xxxxxxxxxxx>

Patch applied to ath-next branch of ath.git, thanks.

6783f10a1d07 wifi: ath5k: remove unused ath5k_eeprom_info::ee_antenna

--
https://patchwork.kernel.org/project/linux-wireless/patch/20231205111515.21470-1-jirislaby@xxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches