[PATCH] lib: sbi: Remove unnecessary SBI_INIT_LIST_HEAD

Samuel Holland samuel.holland at sifive.com
Wed Mar 19 07:42:14 PDT 2025


On 2025-03-19 7:39 AM, Xiang W wrote:
> No need to initialise the nodes to be added to the linked list
> 
> Signed-off-by: Xiang W <wxjstz at 126.com>
> ---
>  lib/sbi/sbi_ecall.c         | 1 -
>  lib/sbi/sbi_heap.c          | 1 -
>  lib/sbi/sbi_mpxy.c          | 1 -
>  lib/utils/fdt/fdt_fixup.c   | 1 -
>  lib/utils/mailbox/mailbox.c | 2 --
>  5 files changed, 6 deletions(-)

Reviewed-by: Samuel Holland <samuel.holland at sifive.com>




More information about the opensbi mailing list