[PATCH v2 07/15] lib: sbi: Remove redundant boot time print statement

Xiang W wxjstz at 126.com
Tue Jun 8 00:28:33 PDT 2021


在 2021-05-26星期三的 17:30 -0700,Atish Patra写道:
> Reviewed-by: Anup Patel <anup.patel at wdc.com>
> Signed-off-by: Atish Patra <atish.patra at wdc.com>

Reviewed-by: Xiang W <wxjstz at 126.com>

> ---
>  lib/sbi/sbi_init.c | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/lib/sbi/sbi_init.c b/lib/sbi/sbi_init.c
> index 3f44a2b87152..65af5705f484 100644
> --- a/lib/sbi/sbi_init.c
> +++ b/lib/sbi/sbi_init.c
> @@ -137,8 +137,6 @@ static void sbi_boot_print_hart(struct
> sbi_scratch *scratch, u32 hartid)
>                    sbi_hart_pmp_addrbits(scratch));
>         sbi_printf("Boot HART MHPM Count      : %d\n",
>                    sbi_hart_mhpm_count(scratch));
> -       sbi_printf("Boot HART MHPM Count      : %d\n",
> -                  sbi_hart_mhpm_count(scratch));
>         sbi_hart_delegation_dump(scratch, "Boot HART ", "         ");
>  }
>  
> -- 
> 2.25.1
> 
> 





More information about the opensbi mailing list