[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <165656161439.1686.17032985946330755868.git-patchwork-notify@kernel.org>
Date: Thu, 30 Jun 2022 04:00:14 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Colin Ian King <colin.i.king@...il.com>
Cc: davem@...emloft.net, yoshfuji@...ux-ipv6.org, dsahern@...nel.org,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] ipv6: remove redundant store to value after addition
Hello:
This patch was applied to netdev/net-next.git (master)
by Jakub Kicinski <kuba@...nel.org>:
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
Powered by blists - more mailing lists