diff options
author | Gavin Shan <gshan@redhat.com> | 2020-06-30 17:59:43 +1000 |
---|---|---|
committer | Will Deacon <will@kernel.org> | 2020-07-08 21:41:24 +0100 |
commit | 132330f8044c8e0cfa83b5eee41ade52708390dc (patch) | |
tree | 1194758c65ab5021416d1f998a4f4f8f2e3439a6 /lib/find_bit.c | |
parent | c377e67c6271954969384f9be1b1b71de13eba30 (diff) |
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 'lib/find_bit.c')
0 files changed, 0 insertions, 0 deletions