diff mbox series

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

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

Commit Message

Atish Patra May 27, 2021, 12:30 a.m. UTC
Reviewed-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
---
 lib/sbi/sbi_init.c | 2 --
 1 file changed, 2 deletions(-)

Comments

Xiang W June 8, 2021, 7:28 a.m. UTC | #1
在 2021-05-26星期三的 17:30 -0700,Atish Patra写道:
> Reviewed-by: Anup Patel <anup.patel@wdc.com>
> Signed-off-by: Atish Patra <atish.patra@wdc.com>

Reviewed-by: Xiang W <wxjstz@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
> 
>
diff mbox series

Patch

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