aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Matyas <jan.matyas@codasip.com>2024-05-31 07:58:20 +0200
committerJan Matyas <jan.matyas@codasip.com>2024-05-31 07:58:20 +0200
commit4ac35e4f395be79f671ec77a4ec7239eab4cf859 (patch)
tree592dad1a313905b84052bee94b537862a351a160
parent347981ca5533b540f187ae3d09495a8e344c4de1 (diff)
downloadriscv-openocd-remove-slot_t-from-riscv-013.zip
riscv-openocd-remove-slot_t-from-riscv-013.tar.gz
riscv-openocd-remove-slot_t-from-riscv-013.tar.bz2
riscv-013: Remove unused typedef slot_tremove-slot_t-from-riscv-013
Code cleanup: "slot_t" is unused in riscv013 - remove it. Change-Id: I9d5a0cf8446a180b1d13a9ce2c86d904b946cf28 Signed-off-by: Jan Matyas <jan.matyas@codasip.com>
-rw-r--r--src/target/riscv/riscv-013.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c
index 2ed1dd7..191a17e 100644
--- a/src/target/riscv/riscv-013.c
+++ b/src/target/riscv/riscv-013.c
@@ -101,12 +101,6 @@ typedef enum {
DMI_STATUS_BUSY = DTM_DMI_OP_BUSY
} dmi_status_t;
-typedef enum slot {
- SLOT0,
- SLOT1,
- SLOT_LAST,
-} slot_t;
-
/*** Debug Bus registers. ***/
/* TODO: CMDERR_* defines can removed */