Hello:
This series was applied to netdev/net-next.git (master)
by Jakub Kicinski [off-list ref]:
On Wed, 19 Oct 2022 21:07:33 +0300 you wrote:
'&asoc->ulpq' passed to sctp_ulpq_init() as the first argument,
then sctp_qlpq_init() initializes it and eventually returns the
address of the struct member back. Therefore, in this case, the
return pointer cannot be NULL.
Moreover, it seems sctp_ulpq_init() has always been used only in
sctp_association_init(), so there's really no need to return ulpq
anymore.
[...]
Here is the summary with links:
- [net-next,1/3] sctp: remove unnecessary NULL check in sctp_association_init()
https://git.kernel.org/netdev/net-next/c/6fdfdef7fdb5
- [net-next,2/3] sctp: remove unnecessary NULL check in sctp_ulpq_tail_event()
https://git.kernel.org/netdev/net-next/c/b66aeddbe30c
- [net-next,3/3] sctp: remove unnecessary NULL checks in sctp_enqueue_event()
https://git.kernel.org/netdev/net-next/c/377eb9aab084
You are awesome, thank you!
--
Deet-doot-dot, I am a bot.
https://korg.docs.kernel.org/patchwork/pwbot.html