Re: wifi: iwlegacy: Remove the unused variable len

From: Kalle Valo
Date: Tue Nov 14 2023 - 05:18:55 EST


Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx> wrote:

> Variable len is not effectively used, so delete it.
>
> drivers/net/wireless/intel/iwlegacy/4965-mac.c:4234:7: warning: variable 'len' set but not used.
>
> Reported-by: Abaci Robot <abaci@xxxxxxxxxxxxxxxxx>
> Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=7223
> Signed-off-by: Jiapeng Chong <jiapeng.chong@xxxxxxxxxxxxxxxxx>
> Acked-by: Stanislaw Gruszka <stf_xl@xxxxx>

Patch applied to wireless-next.git, thanks.

af3077af7c07 wifi: iwlegacy: Remove the unused variable len

--
https://patchwork.kernel.org/project/linux-wireless/patch/20231110073602.16846-1-jiapeng.chong@xxxxxxxxxxxxxxxxx/

https://wireless.wiki.kernel.org/en/developers/documentation/submittingpatches