YueHaibing <yuehaibing@xxxxxxxxxx> wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c: In function 'translate_rx_signal_stuff': > drivers/net/wireless/realtek/rtlwifi/rtl8821ae/trx.c:309:6: warning: > variable 'type' set but not used [-Wunused-but-set-variable] > > It never used since commit 21e4b0726dc6 ("rtlwifi: rtl8821ae: Move driver from > staging to regular tree") > > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. e3e454b7047a rtlwifi: rtl8821ae: remove set but not used variable 'type' in translate_rx_signal_stuff -- https://patchwork.kernel.org/patch/10715629/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches