From: Matthias Welwarsky Date: Thu, 20 Oct 2016 15:06:13 +0000 (+0200) Subject: aarch64: remove unused struct components X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2407721e1487d14ecabf83793f929307e94eb452;p=openocd aarch64: remove unused struct components remove unused register index array from armv8_mode_data[] Change-Id: I686c20eeb3da413f5e9ef6058e31ce939741afb4 Signed-off-by: Matthias Welwarsky --- diff --git a/src/target/armv8.c b/src/target/armv8.c index 54ec42f0..94a0e8e8 100644 --- a/src/target/armv8.c +++ b/src/target/armv8.c @@ -46,11 +46,6 @@ static const char * const armv8_state_strings[] = { static const struct { const char *name; unsigned psr; - /* For user and system modes, these list indices for all registers. - * otherwise they're just indices for the shadow registers and SPSR. - */ - unsigned short n_indices; - const uint8_t *indices; } armv8_mode_data[] = { /* These special modes are currently only supported * by ARMv6M and ARMv7M profiles */