diff options
author | Gavin Shan <gshan@redhat.com> | 2020-09-22 23:04:19 +1000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-09-28 21:52:22 +0100 |
commit | b06146b698e6e835253d01901ecf0ab84646591e (patch) | |
tree | 93a734914736baba1cf2d5982482117a98a3e4ec /tools/perf/scripts/python/export-to-sqlite.py | |
parent | 1bbc75518503fe7992c8ec09557b453ec7222dcf (diff) |
firmware: arm_sdei: Remove while loop in sdei_event_unregister()
This removes the unnecessary while loop in sdei_event_unregister()
because of the following two reasons. This shouldn't cause any
functional changes.
* The while loop is executed for once, meaning it's not needed
in theory.
* With the while loop removed, the nested statements can be
avoid to make the code a bit cleaner.
Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20200922130423.10173-10-gshan@redhat.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions