aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorColin Ian King <[email protected]>2017-09-08 15:05:04 +0100
committerEric Anholt <[email protected]>2017-09-08 11:06:54 -0700
commit5663077a56804890506c913b3ca9fee78764f8b3 (patch)
treebd2f33c60e4166d9dbcdd4206be32f664541fa2e /tools/perf/scripts/python/stackcollapse.py
parent45ae2787a0e6d57d75ac25ffdfc9d8c7f9c0f3f1 (diff)
drm/vc4: clean up error handling on devm_kzalloc failure
The current error handling when devm_kzalloc fails performs a non-null check on connector which is redundant because connector is null at that failure point. Once this is removed, make the failure path into a trivial -ENOMEM return to clean up the error handling. Also remove need to initialize connector to NULL. Detected by CoverityScan CID#1339527 ("Logically dead code") Signed-off-by: Colin Ian King <[email protected]> Signed-off-by: Eric Anholt <[email protected]> Reviewed-by: Eric Anholt <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions