Remove unused code. (#707)

Change-Id: I3961a62c0c51200ff3241265d9ea3e69492bdc4e
Signed-off-by: Tim Newsome <tim@sifive.com>
This commit is contained in:
Tim Newsome 2022-06-15 10:22:19 -07:00 committed by GitHub
parent a2da822187
commit d85a4e8098
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -2201,7 +2201,6 @@ int riscv_openocd_poll(struct target *target)
enum target_state old_state = target->state;
if (target->smp) {
unsigned halts_discovered = 0;
unsigned should_remain_halted = 0;
unsigned should_resume = 0;
struct target_list *list;
@ -2219,7 +2218,6 @@ int riscv_openocd_poll(struct target *target)
t->debug_reason = DBG_REASON_NOTHALTED;
break;
case RPH_DISCOVERED_HALTED:
halts_discovered++;
t->state = TARGET_HALTED;
enum riscv_halt_reason halt_reason =
riscv_halt_reason(t, r->current_hartid);