Re: [PATCH][next] net: tcp: Remove redundant initialization of variable len

From: patchwork-bot+netdevbpf
Date: Tue Feb 20 2024 - 05:50:45 EST


Hello:

This patch was applied to netdev/net-next.git (main)
by Paolo Abeni <pabeni@xxxxxxxxxx>:

On Fri, 16 Feb 2024 12:54:43 +0000 you wrote:
> The variable len being initialized with a value that is never read, an
> if statement is initializing it in both paths of the if statement.
> The initialization is redundant and can be removed.
>
> Cleans up clang scan build warning:
> net/ipv4/tcp_ao.c:512:11: warning: Value stored to 'len' during its
> initialization is never read [deadcode.DeadStores]
>
> [...]

Here is the summary with links:
- [next] net: tcp: Remove redundant initialization of variable len
https://git.kernel.org/netdev/net-next/c/465c1abcb644

You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html