summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorFelix Kuehling <Felix.Kuehling@amd.com>2018-04-10 17:33:11 -0400
committerOded Gabbay <oded.gabbay@gmail.com>2018-04-10 17:33:11 -0400
commit2a26fbfe80015faef830bc47c5223b4b31d41791 (patch)
treee9777e38105cc06595e1be378437969366129fb0 /tools/perf/scripts/python/export-to-sqlite.py
parentca750681bc4a897ffa7eed71a1e05762fb1f0a34 (diff)
drm/amdkfd: Fix goto usage
Missed a spot in previous cleanup commit: Remove gotos that do not feature any common cleanup, and use gotos instead of repeating cleanup commands. According to kernel.org: "The goto statement comes in handy when a function exits from multiple locations and some common work such as cleanup has to be done. If there is no cleanup needed then just return directly." Signed-off-by: Kent Russell <kent.russell@amd.com> Signed-off-by: Felix Kuehling <Felix.Kuehling@amd.com> Reviewed-by: Oded Gabbay <oded.gabbay@gmail.com> Signed-off-by: Oded Gabbay <oded.gabbay@gmail.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions