Re: [PATCH v2] sctp: make sctp_transport_init() void
From: patchwork-bot+netdevbpf
Date: Mon Nov 03 2025 - 20:41:24 EST
Hello:
This patch was applied to netdev/net.git (main)
by Jakub Kicinski <kuba@xxxxxxxxxx>:
On Mon, 3 Nov 2025 10:36:19 +0800 you wrote:
> sctp_transport_init() is static and never returns NULL. It is only
> called by sctp_transport_new(), so change it to void and remove the
> redundant return value check.
>
> Signed-off-by: Huiwen He <hehuiwen@xxxxxxxxxx>
> ---
> Changes in v2:
> - Remove the 'fail' label and its path as suggested by Xin Long.
> - Link to v1: https://lore.kernel.org/all/20251101163656.585550-1-hehuiwen@xxxxxxxxxx
>
> [...]
Here is the summary with links:
- [v2] sctp: make sctp_transport_init() void
https://git.kernel.org/netdev/net/c/59b20b15c112
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html