diff options
author | Markus Elfring <elfring@users.sourceforge.net> | 2016-07-17 14:14:57 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-08-15 17:34:18 +0300 |
commit | 58043f2527fe012e48ce30a5386c9763c88e5dd3 (patch) | |
tree | f1afddfeaee97202a8aec2e5e8096f35fa074be6 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 68d81dea4fc105666516146f6c5e91aa0fe1be02 (diff) | |
download | linux-58043f2527fe012e48ce30a5386c9763c88e5dd3.tar.xz |
staging: ks7010: Delete unnecessary checks before the function call "kfree"
The kfree() function tests whether its argument is NULL and then
returns immediately. Thus the test around the calls is not needed.
This issue was detected by using the Coccinelle software.
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions