From 2c909f8faae052ccc3cec82ed0d98b043f871ce3 Mon Sep 17 00:00:00 2001 From: Tom Hebb Date: Mon, 28 Sep 2020 12:46:47 -0400 Subject: [PATCH] riscv: remove unused riscv_error_t type (#539) This seems to be completely unused in these two files. It was probably accidentally copied from riscv-011.c, where it is used. Change-Id: I3f7ad8b2d26b005d3ea4438e2b3ec46a6c801792 Signed-off-by: Thomas Hebb --- src/target/riscv/riscv-013.c | 6 ------ src/target/riscv/riscv.c | 6 ------ 2 files changed, 12 deletions(-) diff --git a/src/target/riscv/riscv-013.c b/src/target/riscv/riscv-013.c index 901e49121..6a620afd5 100644 --- a/src/target/riscv/riscv-013.c +++ b/src/target/riscv/riscv-013.c @@ -111,12 +111,6 @@ typedef enum { DMI_STATUS_BUSY = 3 } dmi_status_t; -typedef enum { - RE_OK, - RE_FAIL, - RE_AGAIN -} riscv_error_t; - typedef enum slot { SLOT0, SLOT1, diff --git a/src/target/riscv/riscv.c b/src/target/riscv/riscv.c index ef564a1e4..bbcd6892b 100644 --- a/src/target/riscv/riscv.c +++ b/src/target/riscv/riscv.c @@ -68,12 +68,6 @@ typedef enum { #define DBUS_DATA_SIZE 34 #define DBUS_ADDRESS_START 36 -typedef enum { - RE_OK, - RE_FAIL, - RE_AGAIN -} riscv_error_t; - typedef enum slot { SLOT0, SLOT1,