Skip to content
Commit 132330f8 authored by Gavin Shan's avatar Gavin Shan Committed by Will Deacon
Browse files

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: default avatarGavin Shan <gshan@redhat.com>
Reviewed-by: default avatarSudeep Holla <sudeep.holla@arm.com>
Link: https://lore.kernel.org/r/20200630075943.203954-1-gshan@redhat.com


Signed-off-by: default avatarWill Deacon <will@kernel.org>
parent c377e67c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment