YueHaibing [off-list ref] wrote:
Fixes gcc '-Wunused-but-set-variable' warning:
drivers/net/wireless/marvell/libertas/if_spi.c: In function 'if_spi_h2c':
drivers/net/wireless/marvell/libertas/if_spi.c:799:6: warning:
variable 'int_type' set but not used [-Wunused-but-set-variable]
It never used since introduction in
commit d2b21f191753 ("libertas: if_spi, driver for libertas GSPI devices")
Signed-off-by: YueHaibing <redacted>
Tested-by: Lubomir Rintel <redacted>
Patch applied to wireless-drivers-next.git, thanks.
937a13091cbd libertas: remove set but not used variable 'int_type'
--
https://patchwork.kernel.org/patch/10641005/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches