[RFC 07/14] lib: sbi: Remove redundant boot time print statement

Anup Patel Anup.Patel at wdc.com
Thu Apr 8 04:25:58 BST 2021



> -----Original Message-----
> From: Atish Patra <atish.patra at wdc.com>
> Sent: 20 March 2021 03:43
> To: opensbi at lists.infradead.org
> Cc: Atish Patra <Atish.Patra at wdc.com>; Anup Patel <Anup.Patel at wdc.com>
> Subject: [RFC 07/14] lib: sbi: Remove redundant boot time print statement
> 
> Signed-off-by: Atish Patra <atish.patra at wdc.com>


Looks good to me.

Reviewed-by: Anup Patel <anup.patel at wdc.com>

Regards,
Anup

> ---
>  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
> 4de2dfa7c99d..acc2a81a1b53 100644
> --- a/lib/sbi/sbi_init.c
> +++ b/lib/sbi/sbi_init.c
> @@ -117,8 +117,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