From: Marco Liebel Date: Mon, 26 Jan 2026 22:34:33 +0000 (-0600) Subject: target/hexagon: Remove unused EXT_IDX enum X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73aeeaf5e6da2765752df0ce5ac0c8bfbc65af2e;p=thirdparty%2Fqemu.git target/hexagon: Remove unused EXT_IDX enum 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 Reviewed-by: Taylor Simpson Reviewed-by: Brian Cain Signed-off-by: Brian Cain --- 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