Re: [PATCH] liveupdate: Remove redundant INIT_LIST_HEAD in luo_session_alloc

From: Pratyush Yadav

Date: Tue Jul 14 2026 - 04:58:37 EST


On Tue, Jul 14 2026, Hongfu Li wrote:

> From: Hongfu Li <lihongfu@xxxxxxxxxx>
>
> luo_session_alloc() calls INIT_LIST_HEAD(&session->file_set.files_list)
> followed immediately by luo_file_set_init(), which also performs
> INIT_LIST_HEAD() on the same list head. Remove the duplicate call.
>
> Signed-off-by: Hongfu Li <lihongfu@xxxxxxxxxx>

Reviewed-by: Pratyush Yadav <pratyush@xxxxxxxxxx>

[...]

--
Regards,
Pratyush Yadav