diff options
| author | Sudeep Holla <sudeep.holla@arm.com> | 2018-05-09 17:52:06 +0100 |
|---|---|---|
| committer | Sudeep Holla <sudeep.holla@arm.com> | 2018-05-10 10:51:59 +0100 |
| commit | ec42ac6d1ea3118210c265ea532b2ab66e18098d (patch) | |
| tree | aa116c43e01e1ce199b1451312616264788748b8 /tools/perf/scripts/python/stackcollapse.py | |
| parent | firmware: arm_scmi: remove unnecessary bitmap_zero (diff) | |
| download | linux-ec42ac6d1ea3118210c265ea532b2ab66e18098d.tar.gz linux-ec42ac6d1ea3118210c265ea532b2ab66e18098d.zip | |
firmware: arm_scmi: improve exit paths and code readability
The existing code intends the good path to reduce the code which is so
uncommon. It's obvious to have more readable code with a goto used for
the error path. This patch adds more appropriate error paths and makes
code more readable. It also moves a error logging outside the scope of
locking.
Suggested-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Signed-off-by: Sudeep Holla <sudeep.holla@arm.com>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
