Skip to content
Commit b66aeddb authored by Alexey Kodanev's avatar Alexey Kodanev Committed by Jakub Kicinski
Browse files

sctp: remove unnecessary NULL check in sctp_ulpq_tail_event()

After commit 013b96ec

 ("sctp: Pass sk_buff_head explicitly to
sctp_ulpq_tail_event().") there is one more unneeded check of
skb_list for NULL.

Detected using the static analysis tool - Svace.
Signed-off-by: default avatarAlexey Kodanev <aleksei.kodanev@bell-sw.com>
Reviewed-by: default avatarXin Long <lucien.xin@gmail.com>
Link: https://lore.kernel.org/r/20221019180735.161388-2-aleksei.kodanev@bell-sw.com
Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 6fdfdef7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment