Re: [PATCH] drivers/firmware/psci: Assign @err directly in hotplug_tests()
From: Sudeep Holla <hidden>
Date: 2020-01-31 15:36:32
From: Sudeep Holla <hidden>
Date: 2020-01-31 15:36:32
On Fri, Jan 31, 2020 at 10:08:45AM +1100, 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.
Yes, I was wondering why it's done like this. It may be result of some refactoring that we ended up with this. Anyways, looks good to me. Reviewed-by: Sudeep Holla <redacted> -- Regards, Sudeep _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel