Re: [PATCH][next] net/handshake: remove redundant assignment to variable ret

From: patchwork-bot+netdevbpf
Date: Tue Apr 16 2024 - 20:21:08 EST


Hello:

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

On Mon, 15 Apr 2024 11:07:13 +0100 you wrote:
> The variable is being assigned an value and then is being re-assigned
> a new value in the next statement. The assignment is redundant and can
> be removed.
>
> Cleans up clang scan build warning:
> net/handshake/tlshd.c:216:2: warning: Value stored to 'ret' is never
> read [deadcode.DeadStores]
>
> [...]

Here is the summary with links:
- [next] net/handshake: remove redundant assignment to variable ret
https://git.kernel.org/netdev/net-next/c/c2b640529ec7

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