OpenCloudOS-Kernel/drivers/firmware/psci
Gavin Shan 132330f804 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>
2020-07-08 21:41:24 +01:00
..
Kconfig treewide: Add SPDX license identifier - Makefile/Kconfig 2019-05-21 10:50:46 +02:00
Makefile drivers: firmware: psci: Move psci to separate directory 2019-04-12 10:59:37 +02:00
psci.c firmware: smccc: Fix missing prototype warning for arm_smccc_version_init 2020-05-21 14:07:37 +01:00
psci_checker.c drivers/firmware/psci: Assign @err directly in hotplug_tests() 2020-07-08 21:41:24 +01:00