diff options
author | 2020-06-30 17:59:43 +1000 | |
---|---|---|
committer | 2020-07-08 21:41:24 +0100 | |
commit | 132330f8044c8e0cfa83b5eee41ade52708390dc (patch) | |
tree | 1194758c65ab5021416d1f998a4f4f8f2e3439a6 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | drivers/firmware/psci: Fix memory leakage in alloc_init_cpu_groups() (diff) | |
download | linux-rng-132330f8044c8e0cfa83b5eee41ade52708390dc.tar.xz linux-rng-132330f8044c8e0cfa83b5eee41ade52708390dc.zip |
drivers/firmware/psci: Assign @err directly in hotplug_tests()
The return value of down_and_up_cpus() can be assigned to @err directly.
With that, the useless assignment to @err with zero can be dropped.
Signed-off-by: Gavin Shan <gshan@redhat.com>
Reviewed-by: Sudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20200630075943.203954-1-gshan@redhat.com
Signed-off-by: Will Deacon <will@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions