On Sat, Aug 10, 2024 at 10:06:32AM +0800, Menglong Dong wrote:
> The variable "did_rsc" is initialized twice, which is unnecessary. Just
> remove one of them.
>
> Signed-off-by: Menglong Dong <dongml2@chinatelecom.cn>
Thanks, I have verified that did_rsc is initialised to false,
else where in this function, before it is otherwise used.
And, as the function may return before then, it does seem
reasonable to defer initialisation until then.
Reviewed-by: Simon Horman <horms@kernel.org>