diff options
Diffstat (limited to 'src/target/riscv/riscv.c')
-rw-r--r-- | src/target/riscv/riscv.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c index ab5b401..3ebc76a 100644 --- a/src/target/riscv/riscv.c +++ b/src/target/riscv/riscv.c @@ -5065,16 +5065,6 @@ static void riscv_invalidate_register_cache(struct target *target) } -unsigned int riscv_count_harts(struct target *target) -{ - if (!target) - return 1; - RISCV_INFO(r); - if (!r || !r->hart_count) - return 1; - return r->hart_count(target); -} - /** * If write is true: * return true iff we are guaranteed that the register will contain exactly |