[PATCH] liveupdate: Remove redundant INIT_LIST_HEAD in luo_session_alloc

Pratyush Yadav pratyush at kernel.org
Tue Jul 14 01:58:20 PDT 2026


On Tue, Jul 14 2026, Hongfu Li wrote:

> From: Hongfu Li <lihongfu at kylinos.cn>
>
> 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 at kylinos.cn>

Reviewed-by: Pratyush Yadav <pratyush at kernel.org>

[...]

-- 
Regards,
Pratyush Yadav



More information about the kexec mailing list