zhengbin <zhengbin13@xxxxxxxxxx> wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/realtek/rtlwifi/ps.c: In function rtl_ps_set_rf_state: > drivers/net/wireless/realtek/rtlwifi/ps.c:71:19: warning: variable rtstate set but not used [-Wunused-but-set-variable] > > It is not used since commit f1d2b4d338bf ("rtlwifi: > rtl818x: Move drivers into new realtek directory") > > Reported-by: Hulk Robot <hulkci@xxxxxxxxxx> > Signed-off-by: zhengbin <zhengbin13@xxxxxxxxxx> 5 patches applied to wireless-drivers-next.git, thanks. 4010758eb082 rtlwifi: Remove set but not used variable 'rtstate' 70906d941ccd rtlwifi: Remove set but not used variables 'dataempty','hoffset' 4a26e11500b8 rtlwifi: rtl8192ee: Remove set but not used variables 'short_gi','buf_len' 533e3de41205 rtlwifi: rtl8192ee: Remove set but not used variables 'reg_ecc','reg_eac' 66070e86878c rtlwifi: rtl8723be: Remove set but not used variables 'reg_ecc','reg_eac' -- https://patchwork.kernel.org/patch/11166203/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches