diff mbox series

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

Message ID 20210319221305.2138412-8-atish.patra@wdc.com
State Superseded
Headers show
Series SBI PMU extension support | expand

Commit Message

Atish Patra March 19, 2021, 10:12 p.m. UTC
Signed-off-by: Atish Patra <atish.patra@wdc.com>
---
 lib/sbi/sbi_init.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Anup Patel April 8, 2021, 3:25 a.m. UTC | #1
> -----Original Message-----
> From: Atish Patra <atish.patra@wdc.com>
> Sent: 20 March 2021 03:43
> To: opensbi@lists.infradead.org
> Cc: Atish Patra <Atish.Patra@wdc.com>; Anup Patel <Anup.Patel@wdc.com>
> Subject: [RFC 07/14] lib: sbi: Remove redundant boot time print statement
> 
> Signed-off-by: Atish Patra <atish.patra@wdc.com>


Looks good to me.

Reviewed-by: Anup Patel <anup.patel@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
diff mbox series

Patch

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 ", "         ");
 }