diff options
author | Tim Newsome <tim@sifive.com> | 2023-03-10 10:58:46 -0800 |
---|---|---|
committer | Tim Newsome <tim@sifive.com> | 2023-03-10 10:58:46 -0800 |
commit | dcb0b5b976bc5e01f53acf50b00b29017ea69b09 (patch) | |
tree | 52688ab485486069842d30e67faff07efea9e772 | |
parent | 59e368e3089fd38ee7d88c3456e1922eaa9ca658 (diff) | |
download | riscv-openocd-dcb0b5b976bc5e01f53acf50b00b29017ea69b09.zip riscv-openocd-dcb0b5b976bc5e01f53acf50b00b29017ea69b09.tar.gz riscv-openocd-dcb0b5b976bc5e01f53acf50b00b29017ea69b09.tar.bz2 |
target/riscv: Remove unused address_in variable.
Change-Id: Iead46b543a3b866f36b4d61a8824b6335dab276a
Signed-off-by: Tim Newsome <tim@sifive.com>
-rw-r--r-- | src/target/riscv/riscv-013.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index ee3ced6..3ee7a1c 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -562,7 +562,6 @@ static int dmi_op_timeout(struct target *target, uint32_t *data_in, select_dmi(target); dmi_status_t status; - uint32_t address_in; if (dmi_busy_encountered) *dmi_busy_encountered = false; @@ -615,7 +614,7 @@ static int dmi_op_timeout(struct target *target, uint32_t *data_in, * Note that NOP can result in a 'busy' result as well, but that would be * noticed on the next DMI access we do. */ while (1) { - status = dmi_scan(target, &address_in, data_in, DMI_OP_NOP, address, 0, + status = dmi_scan(target, NULL, data_in, DMI_OP_NOP, address, 0, false); if (status == DMI_STATUS_BUSY) { increase_dmi_busy_delay(target); |