Re: [PATCH v2] sctp: make sctp_transport_init() void
| Newsgroups | org.kernel.vger.linux-sctp,org.kernel.vger.linux-kernel,org.kernel.vger.netdev |
|---|---|
| Message-ID | <176222041899.2285814.807865914343081273.git-patchwork-notify@kernel.org> |
Hello: This patch was applied to netdev/net.git (main) by Jakub Kicinski <[email protected]>: 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 <[email protected]> > --- > Changes in v2: > - Remove the 'fail' label and its path as suggested by Xin Long. > - Link to v1: https://lore.kernel.org/all/[email protected] > > [...] 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