YueHaibing <yuehaibing@xxxxxxxxxx> wrote: > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c: In function '_rtl92s_firmware_downloadcode': > drivers/net/wireless/realtek/rtlwifi/rtl8192se/fw.c:139:17: warning: > variable 'seg_ptr' set but not used [-Wunused-but-set-variable] > > It's not used after commit 59ae1d127ac0 ("networking: introduce and use > skb_put_data()") > > Signed-off-by: YueHaibing <yuehaibing@xxxxxxxxxx> Patch applied to wireless-drivers-next.git, thanks. 037e0c5df649 rtlwifi: rtl8192se: Remove set but not used variable 'seg_ptr' -- https://patchwork.kernel.org/patch/10831003/ https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches