Re: wifi: iwlegacy: remove redundant variable len

From: Kalle Valo
Date: Tue Nov 08 2022 - 02:41:06 EST


Colin Ian King <colin.i.king@xxxxxxxxx> wrote:

> Variable len is being assigned and modified but it is never
> used. The variable is redundant and can be removed.
>
> Cleans up clang scan build warning:
> warning: variable 'len' set but not used [-Wunused-but-set-variable]
>
> Signed-off-by: Colin Ian King <colin.i.king@xxxxxxxxx>
> Acked-by: Stanislaw Gruszka <stf_xl@xxxxx>

Patch applied to wireless-next.git, thanks.

9db485ce098f wifi: iwlegacy: remove redundant variable len

--
https://patchwork.kernel.org/project/linux-wireless/patch/20221104135036.225628-1-colin.i.king@xxxxxxxxx/

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