Re: [PATCH -next] net: ena: Remove unused variable 'tx_bytes'

From: Jakub Kicinski
Date: Mon Oct 03 2022 - 12:42:56 EST


On Mon, 10 Oct 2022 11:19:36 +0800 Chen Zhongjin wrote:
> Reported by Clang [-Wunused-but-set-variable]
>
> 'commit 548c4940b9f1 ("net: ena: Implement XDP_TX action")'
> This commit introduced the variable 'tx_bytes'. However this variable
> is never used by other code except iterates itself, so remove it.

First of all - please fix the date on your system.

Second:

# Form letter - net-next is closed

Linus has released v6.0, we are currently in a merge window
and therefore net-next is closed for new drivers, features,
code refactoring and optimizations. We are currently accepting
bug fixes only.

Please repost when net-next reopens after 6.1-rc1 is cut.

RFC patches sent for review only are obviously welcome at any time.