[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id:
<171297423157.31124.15059984816555021633.git-patchwork-notify@kernel.org>
Date: Sat, 13 Apr 2024 02:10:31 +0000
From: patchwork-bot+netdevbpf@...nel.org
To: Colin King (gmail) <colin.i.king@...il.com>
Cc: jmaloy@...hat.com, ying.xue@...driver.com, davem@...emloft.net,
edumazet@...gle.com, kuba@...nel.org, pabeni@...hat.com,
netdev@...r.kernel.org, tipc-discussion@...ts.sourceforge.net,
kernel-janitors@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH][next] tipc: remove redundant assignment to ret, simplify code
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@...nel.org>:
On Thu, 11 Apr 2024 10:17:04 +0100 you wrote:
> Variable err is being assigned a zero value and it is never read
> afterwards in either the break path or continue path, the assignment
> is redundant and can be removed. With it removed, the if statement
> can also be simplified.
>
> Cleans up clang scan warning:
> net/tipc/socket.c:3570:5: warning: Value stored to 'err' is never
> read [deadcode.DeadStores]
>
> [...]
Here is the summary with links:
- [next] tipc: remove redundant assignment to ret, simplify code
https://git.kernel.org/netdev/net-next/c/195b7fc53c6f
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