Re: [PATCH v2 net-next] ipv6: sit: remove redundant ret = 0 assignment
From: patchwork-bot+netdevbpf
Date: Thu Apr 09 2026 - 23:42:44 EST
Hello:
This patch was applied to netdev/net-next.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Wed, 8 Apr 2026 11:20:51 +0800 you wrote:
> The variable ret is assigned a value at all places where it is used;
> There is no need to assign a value when it is initially defined.
>
> Signed-off-by: Yue Haibing <yuehaibing@xxxxxxxxxx>
> ---
> v2: Remove redundant init during definition instead of init before copy_to_user
>
> [...]
Here is the summary with links:
- [v2,net-next] ipv6: sit: remove redundant ret = 0 assignment
https://git.kernel.org/netdev/net-next/c/3c6132ccc58e
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html