summaryrefslogtreecommitdiffstats
path: root/certs
diff options
context:
space:
mode:
authorHariprasad Kelam <hariprasad.kelam@gmail.com>2019-07-16 07:50:02 +0530
committerDavid S. Miller <davem@davemloft.net>2019-07-17 12:01:19 -0700
commit86fda90ab5888d983f7307442ba62978e3504bd3 (patch)
tree8bfee3a7cedc41a336db405a2d38b2af51795e9e /certs
parentfdd258d49e88a9e0b49ef04a506a796f1c768a8e (diff)
downloadlinux-86fda90ab5888d983f7307442ba62978e3504bd3.tar.bz2
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 'certs')
0 files changed, 0 insertions, 0 deletions