diff options
author | Antonio Borneo <borneo.antonio@gmail.com> | 2019-06-24 18:45:11 +0200 |
---|---|---|
committer | Antonio Borneo <borneo.antonio@gmail.com> | 2020-03-12 10:09:15 +0000 |
commit | 9626402c5a65423d4e4e9091f710b542522ca125 (patch) | |
tree | f1b99d693e71f127bd5732742b3f4829d4254bc6 /src/target | |
parent | fba438fde7355bcbe5fb4dc0ce712665d3d8a6da (diff) | |
download | riscv-openocd-9626402c5a65423d4e4e9091f710b542522ca125.zip riscv-openocd-9626402c5a65423d4e4e9091f710b542522ca125.tar.gz riscv-openocd-9626402c5a65423d4e4e9091f710b542522ca125.tar.bz2 |
target/armv4_5: remove unused macro
The macro ARMV4_5_CORE_REG_MODENUM() is unused.
Remove it!
Change-Id: I183df57bd86c9428710ea3583e43fba88fd26e0a
Signed-off-by: Antonio Borneo <borneo.antonio@gmail.com>
Reviewed-on: http://openocd.zylin.com/5260
Tested-by: jenkins
Reviewed-by: Muhammad Omair Javaid <omair.javaid@linaro.org>
Diffstat (limited to 'src/target')
-rw-r--r-- | src/target/armv4_5.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/target/armv4_5.c b/src/target/armv4_5.c index 266a458..c27e953 100644 --- a/src/target/armv4_5.c +++ b/src/target/armv4_5.c @@ -768,9 +768,6 @@ int arm_arch_state(struct target *target) return ERROR_OK; } -#define ARMV4_5_CORE_REG_MODENUM(cache, mode, num) \ - (cache->reg_list[armv4_5_core_reg_map[mode][num]]) - COMMAND_HANDLER(handle_armv4_5_reg_command) { struct target *target = get_current_target(CMD_CTX); |