Re: [PATCH] net: ksz884x: remove unused change variable

From: Simon Horman
Date: Wed Mar 29 2023 - 09:23:56 EST


On Wed, Mar 29, 2023 at 08:59:29AM -0400, Tom Rix wrote:
> clang with W=1 reports
> drivers/net/ethernet/micrel/ksz884x.c:3216:6: error: variable
> 'change' set but not used [-Werror,-Wunused-but-set-variable]
> int change = 0;
> ^
> This variable is not used so remove it.
>
> Signed-off-by: Tom Rix <trix@xxxxxxxxxx>

Reviewed-by: Simon Horman <simon.horman@xxxxxxxxxxxx>