[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <ZCQ70Rb311WzqPIJ@corigine.com>
Date: Wed, 29 Mar 2023 15:23:29 +0200
From: Simon Horman <simon.horman@...igine.com>
To: Tom Rix <trix@...hat.com>
Cc: davem@...emloft.net, edumazet@...gle.com, kuba@...nel.org,
pabeni@...hat.com, nathan@...nel.org, ndesaulniers@...gle.com,
petrm@...dia.com, leon@...nel.org, shayagr@...zon.com,
wsa+renesas@...g-engineering.com, yangyingliang@...wei.com,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
llvm@...ts.linux.dev
Subject: Re: [PATCH] net: ksz884x: remove unused change variable
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@...hat.com>
Reviewed-by: Simon Horman <simon.horman@...igine.com>
Powered by blists - more mailing lists