net: ena: removed unused tx_bytes variable
authorSimon Horman <horms@kernel.org>
Tue, 28 Mar 2023 15:19:58 +0000 (17:19 +0200)
committerJakub Kicinski <kuba@kernel.org>
Thu, 30 Mar 2023 04:39:35 +0000 (21:39 -0700)
commitc5370374bb1bf692167c7276be8b56c02565d535
tree646ee613856f2de2abfba574cf51c3ebce43500b
parent765f3604641e1524389e1d6431974d2bbcab14a7
net: ena: removed unused tx_bytes variable

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@kernel.org>
Acked-by: Shay Agroskin <shayagr@amazon.com>
Link: https://lore.kernel.org/r/20230328151958.410687-1-horms@kernel.org
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/amazon/ena/ena_netdev.c