summaryrefslogtreecommitdiff
path: root/include/sbi/sbi_hart.h
diff options
context:
space:
mode:
authorAnup Patel <anup.patel@wdc.com>2020-09-20 11:19:02 +0300
committerAnup Patel <anup@brainfault.org>2020-10-20 08:48:28 +0300
commitf81d6f6f43c661829b796a849058676eaadc2533 (patch)
tree968ed23b094e907c57d3f7803e3eaeb2fc7a2d5d /include/sbi/sbi_hart.h
parenta126886bfa4bd11a8b1595dab8246476741fc098 (diff)
downloadopensbi-f81d6f6f43c661829b796a849058676eaadc2533.tar.xz
lib: sbi: Remove redundant hartid parameter from sbi_hart_init()
The hartid parameter of sbi_hart_init() is not used anywhere in sbi_hart_init() implementation so let's remove it. Signed-off-by: Anup Patel <anup.patel@wdc.com> Reviewed-by: Atish Patra <atish.patra@wdc.com> Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
Diffstat (limited to 'include/sbi/sbi_hart.h')
-rw-r--r--include/sbi/sbi_hart.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/sbi/sbi_hart.h b/include/sbi/sbi_hart.h
index 9207f4c..2efe44d 100644
--- a/include/sbi/sbi_hart.h
+++ b/include/sbi/sbi_hart.h
@@ -27,7 +27,7 @@ enum sbi_hart_features {
struct sbi_scratch;
-int sbi_hart_init(struct sbi_scratch *scratch, u32 hartid, bool cold_boot);
+int sbi_hart_init(struct sbi_scratch *scratch, bool cold_boot);
extern void (*sbi_hart_expected_trap)(void);
static inline ulong sbi_hart_expected_trap_addr(void)