summaryrefslogtreecommitdiff
path: root/net/sched/Kconfig
diff options
context:
space:
mode:
authorHariprasad Kelam <hariprasad.kelam@gmail.com>2019-07-16 05:20:02 +0300
committerDavid S. Miller <davem@davemloft.net>2019-07-17 22:01:19 +0300
commit86fda90ab5888d983f7307442ba62978e3504bd3 (patch)
tree8bfee3a7cedc41a336db405a2d38b2af51795e9e /net/sched/Kconfig
parentfdd258d49e88a9e0b49ef04a506a796f1c768a8e (diff)
downloadlinux-86fda90ab5888d983f7307442ba62978e3504bd3.tar.xz
net: sctp: fix warning "NULL check before some freeing functions is not needed"
This patch removes NULL checks before calling kfree. fixes below issues reported by coccicheck net/sctp/sm_make_chunk.c:2586:3-8: WARNING: NULL check before some freeing functions is not needed. net/sctp/sm_make_chunk.c:2652:3-8: WARNING: NULL check before some freeing functions is not needed. net/sctp/sm_make_chunk.c:2667:3-8: WARNING: NULL check before some freeing functions is not needed. net/sctp/sm_make_chunk.c:2684:3-8: WARNING: NULL check before some freeing functions is not needed. Signed-off-by: Hariprasad Kelam <hariprasad.kelam@gmail.com> Acked-by: Marcelo Ricardo Leitner <marcelo.leitner@gmail.com> Acked-by: Neil Horman <nhorman@tuxdriver.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/Kconfig')
0 files changed, 0 insertions, 0 deletions