aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorMarkus Elfring <[email protected]>2015-11-06 11:00:23 +0100
committerMichael Ellerman <[email protected]>2016-04-12 21:05:21 +1000
commit1050e689a63baffdadcd33498c15d859922504c0 (patch)
tree1af0608ec31c636af25167ade9bd9521e5ac3eb7 /tools/perf/scripts/python
parent4f7bef7a9f69b1c6fe44b9f249b49056288475a4 (diff)
cxl: Delete an unnecessary check before the function call "kfree"
The kfree() function tests whether its argument is NULL and then returns immediately. Thus the test around the call is not needed. This issue was detected by using the Coccinelle software. Signed-off-by: Markus Elfring <[email protected]> Reviewed-by: Andrew Donnellan <[email protected]> Acked-by: Ian Munsie <[email protected]> Signed-off-by: Michael Ellerman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions