[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20230329222115.5c58b99a@kernel.org>
Date: Wed, 29 Mar 2023 22:21:15 -0700
From: Jakub Kicinski <kuba@...nel.org>
To: Simon Horman <horms@...nel.org>
Cc: "David S. Miller" <davem@...emloft.net>,
Eric Dumazet <edumazet@...gle.com>,
Paolo Abeni <pabeni@...hat.com>,
Shay Agroskin <shayagr@...zon.com>,
Arthur Kiyanovski <akiyano@...zon.com>,
David Arinzon <darinzon@...zon.com>,
Noam Dagan <ndagan@...zon.com>,
Saeed Bishara <saeedb@...zon.com>, Tom Rix <trix@...hat.com>,
netdev@...r.kernel.org
Subject: Re: [PATCH net-next] net: ena: removed unused tx_bytes variable
On Tue, 28 Mar 2023 17:19:58 +0200 Simon Horman wrote:
> clang 16.0.0 with W=1 reports:
>
> drivers/net/ethernet/amazon/ena/ena_netdev.c:1901:6: error: variable 'tx_bytes' set but not used [-Werror,-Wunused-but-set-variable]
> u32 tx_bytes = 0;
>
> The variable is not used so remove it.
>
> Signed-off-by: Simon Horman <horms@...nel.org>
Applied, thanks!
Powered by blists - more mailing lists