Thread (3 messages) 3 messages, 3 authors, 2025-11-04

Re: [PATCH v2] sctp: make sctp_transport_init() void

From: patchwork-bot+netdevbpf@kernel.org
Date: 2025-11-04 01:40:44
Also in: linux-sctp, lkml

Hello:

This patch was applied to netdev/net.git (main)
by Jakub Kicinski [off-list ref]:

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 <redacted>
---
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@kylinos.cn (local)

[...]
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

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help