YueHaibing <yuehaibing@xxxxxxxxxx> wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/rsi/rsi_91x_main.c: In function 'rsi_prepare_skb': > drivers/net/wireless/rsi/rsi_91x_main.c:127:24: warning: > variable 'vif' set but not used [-Wunused-but-set-variable] > > drivers/net/wireless/rsi/rsi_91x_main.c:124:28: warning: > variable 'info' set but not used [-Wunused-but-set-variable] > > They're not used any more since 160ee2a11ce0 ("rsi: fill rx_params only once.") > > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 6f6e4f98ee52 rsi: remove set but not used variables 'info, vif' -- https://patchwork.kernel.org/patch/10817423/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches