[PULL 6/7] target/hexagon: Remove unused EXT_IDX enum

Brian Cain posted 7 patches 1 month, 4 weeks ago
Maintainers: Brian Cain <brian.cain@oss.qualcomm.com>, Laurent Vivier <laurent@vivier.eu>, Pierrick Bouvier <pierrick.bouvier@linaro.org>
There is a newer version of this series
[PULL 6/7] target/hexagon: Remove unused EXT_IDX enum
Posted by Brian Cain 1 month, 4 weeks ago
From: Marco Liebel <marco.liebel@oss.qualcomm.com>

The EXT_IDX_noext, EXT_IDX_mmvec, and XX_LAST_EXT_IDX enum
constants are defined but never referenced anywhere in the
codebase.

Signed-off-by: Marco Liebel <marco.liebel@oss.qualcomm.com>
Reviewed-by: Taylor Simpson <ltaylorsimpson@gmail.com>
Reviewed-by: Brian Cain <brian.cain@oss.qualcomm.com>
Signed-off-by: Brian Cain <brian.cain@oss.qualcomm.com>
---
 target/hexagon/decode.c | 8 --------
 1 file changed, 8 deletions(-)

diff --git a/target/hexagon/decode.c b/target/hexagon/decode.c
index 00d4a79a95..dbc9c630e8 100644
--- a/target/hexagon/decode.c
+++ b/target/hexagon/decode.c
@@ -26,14 +26,6 @@
 
 #define fZXTN(N, M, VAL) ((VAL) & ((1LL << (N)) - 1))
 
-enum {
-    EXT_IDX_noext = 0,
-    EXT_IDX_noext_AFTER = 4,
-    EXT_IDX_mmvec = 4,
-    EXT_IDX_mmvec_AFTER = 8,
-    XX_LAST_EXT_IDX
-};
-
 /*
  *  Certain operand types represent a non-contiguous set of values.
  *  For example, the compound compare-and-jump instruction can only access
-- 
2.34.1