# Re: \[PATCH v2\] drivers/firmware/psci: Assign @err directly in hotplug\_tests()

- From: Will Deacon \<will@kernel.org\>
- Date: 2020-07-08 22:04:42 
- List: linux-arm-kernel
- Page: https://ratatoskr.run/linux-arm-kernel/2020/07/8796298
- Thread: https://ratatoskr.run/linux-arm-kernel/2020/06/8795891/t.md

```text
On Tue, 30 Jun 2020 17:59:43 +1000, Gavin Shan wrote:
> 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.

Applied to arm64 (for-next/fixes), thanks!

[1/1] drivers/firmware/psci: Assign @err directly in hotplug_tests()
      https://git.kernel.org/arm64/c/132330f8044c

Cheers,
-- 
Will

https://fixes.arm64.dev
https://next.arm64.dev
https://will.arm64.dev

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
```
