diff options
author | 2022-10-19 21:07:35 +0300 | |
---|---|---|
committer | 2022-10-20 21:43:10 -0700 | |
commit | 377eb9aab084bf298eed9b55ba173dad36fdf7f2 (patch) | |
tree | 8227cac26bc39e685754cde3bbb569af34a4fdf0 /include/linux/net.h | |
parent | sctp: remove unnecessary NULL check in sctp_ulpq_tail_event() (diff) | |
download | wireguard-linux-377eb9aab084bf298eed9b55ba173dad36fdf7f2.tar.xz wireguard-linux-377eb9aab084bf298eed9b55ba173dad36fdf7f2.zip |
sctp: remove unnecessary NULL checks in sctp_enqueue_event()
After commit 178ca044aa60 ("sctp: Make sctp_enqueue_event tak an
skb list."), skb_list cannot be NULL.
Detected using the static analysis tool - Svace.
Signed-off-by: Alexey Kodanev <aleksei.kodanev@bell-sw.com>
Reviewed-by: Xin Long <lucien.xin@gmail.com>
Link: https://lore.kernel.org/r/20221019180735.161388-3-aleksei.kodanev@bell-sw.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'include/linux/net.h')
0 files changed, 0 insertions, 0 deletions