aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorFabio M. De Francesco <[email protected]>2021-05-27 21:39:22 +0200
committerMauro Carvalho Chehab <[email protected]>2021-07-23 09:04:02 +0200
commit1c6edb2831d941d5c14f7d2ac3f3f82655a560b4 (patch)
tree3710bd86d5bc5a441fddd857203c07822d63ed42 /tools/perf/scripts/python/stackcollapse.py
parent693064eafa9e4b7ab81b97d7349b6c7edb292011 (diff)
media: atomisp: pci: Remove checks before kfree/kvfree
Removed checks for pointers != NULL before freeing memory. If kvfree() and kfree() are given NULL pointers no operations are performed, so there is no need for the above-mentioned checks. Coccinelle detected the second of the two unnecessary checks. Link: https://lore.kernel.org/linux-media/[email protected] Signed-off-by: Fabio M. De Francesco <[email protected]> Acked-by: Sakari Ailus <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions