diff options
author | 2016-01-13 09:18:55 -0500 | |
---|---|---|
committer | 2016-01-13 09:18:55 -0500 | |
commit | d865e573b8a4f30fbb74fa7666ca81e3132eb547 (patch) | |
tree | dc60aea2e30e642328342413c2de397c010f0d46 /tools/perf/scripts/python/stackcollapse.py | |
parent | audit: wake up threads if queue switched from limited to unlimited (diff) | |
download | linux-dev-d865e573b8a4f30fbb74fa7666ca81e3132eb547.tar.xz linux-dev-d865e573b8a4f30fbb74fa7666ca81e3132eb547.zip |
audit: Delete unnecessary checks before two function calls
The functions consume_skb() and kfree_skb() test whether their argument
is NULL and then return immediately.
Thus the tests around their calls are not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
[PM: tweak patch prefix]
Signed-off-by: Paul Moore <pmoore@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions