Re: [PATCH v4 12/14] of: reserved-memory: Move an assignment to effective place in __reserved_mem_alloc_size()
From: Rob Herring (Arm)
Date: Mon Jan 13 2025 - 18:32:17 EST
On Thu, 09 Jan 2025 21:27:03 +0800, Zijun Hu wrote:
> From: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
>
> The assignment '@base = 0' in __reserved_mem_alloc_size() is meaningless
> since @base was already initialized to 0.
>
> Move the assignment to effective and proper place.
>
> Signed-off-by: Zijun Hu <quic_zijuhu@xxxxxxxxxxx>
> ---
> drivers/of/of_reserved_mem.c | 3 +--
> 1 file changed, 1 insertion(+), 2 deletions(-)
>
Applied, thanks!