Re: [PATCH] ipv6: remove redundant store to value after addition

From: patchwork-bot+netdevbpf
Date: Thu Jun 30 2022 - 00:00:21 EST


Hello:

This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@xxxxxxxxxx>:

On Tue, 28 Jun 2022 15:54:06 +0100 you wrote:
> There is no need to store the result of the addition back to variable count
> after the addition. The store is redundant, replace += with just +
>
> Cleans up clang scan build warning:
> warning: Although the value stored to 'count' is used in the enclosing
> expression, the value is never actually read from 'count'
>
> [...]

Here is the summary with links:
- ipv6: remove redundant store to value after addition
https://git.kernel.org/netdev/net-next/c/74fd304f2395

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