Re: [38/41] rtw88: rtw8822c: Remove unused variable 'corr_val'
From: Kalle Valo
Date: Sat Nov 07 2020 - 11:11:59 EST
Lee Jones <lee.jones@xxxxxxxxxx> wrote:
> Fixes the following W=1 kernel build warning(s):
>
> drivers/net/wireless/realtek/rtw88/rtw8822c.c: In function ‘rtw8822c_dpk_dc_corr_check’:
> drivers/net/wireless/realtek/rtw88/rtw8822c.c:2445:5: warning: variable ‘corr_val’ set but not used [-Wunused-but-set-variable]
>
> Cc: Yan-Hsuan Chuang <yhchuang@xxxxxxxxxxx>
> Cc: Kalle Valo <kvalo@xxxxxxxxxxxxxx>
> Cc: "David S. Miller" <davem@xxxxxxxxxxxxx>
> Cc: Jakub Kicinski <kuba@xxxxxxxxxx>
> Cc: linux-wireless@xxxxxxxxxxxxxxx
> Cc: netdev@xxxxxxxxxxxxxxx
> Signed-off-by: Lee Jones <lee.jones@xxxxxxxxxx>
Patch applied to wireless-drivers-next.git, thanks.
dff07dda8eb5 rtw88: rtw8822c: Remove unused variable 'corr_val'
--
https://patchwork.kernel.org/project/linux-wireless/patch/20201102112410.1049272-39-lee.jones@xxxxxxxxxx/
https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches