summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorSubasri S <subasris1210@gmail.com>2026-06-25 19:01:24 +0530
committerFlorian Westphal <fw@strlen.de>2026-07-02 12:17:14 +0200
commit5efbced92ec19514528ce6b18ae8e1b755cc4552 (patch)
treed48b1cd5a22577a6ad89895ec94d09274cc005e0 /tools/perf/scripts/python/bin
parent1501ab0701fdd4571658e5829a2178f1af1f3917 (diff)
netfilter: remove redundant null check before kvfree()
kvfree() internally performs NULL check on the pointer handed to it and takes no action if it indeed is NULL. Hence there is no need for a pre-check of the memory pointer before handing it to kvfree(). Issue reported by ifnullfree.cocci Coccinelle semantic patch script. Signed-off-by: Subasri S <subasris1210@gmail.com> Signed-off-by: Florian Westphal <fw@strlen.de>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions