lib: sbi: Remove redundant boot time print statement
authorAtish Patra <atish.patra@wdc.com>
Sat, 10 Jul 2021 16:18:08 +0000 (09:18 -0700)
committerAnup Patel <anup@brainfault.org>
Sun, 11 Jul 2021 04:49:48 +0000 (10:19 +0530)
This patch removes redundant print from sbi_boot_print_hart().

Reviewed-by: Anup Patel <anup.patel@wdc.com>
Signed-off-by: Atish Patra <atish.patra@wdc.com>
lib/sbi/sbi_init.c

index e396d95..3074777 100644 (file)
@@ -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 ", "         ");
 }