aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-09-02 15:45:31 +0100
committerPeter Maydell <peter.maydell@linaro.org>2012-09-02 15:45:31 +0100
commitaaa999bc1f6d678ba60b64b240250fe03ac892df (patch)
treed23e2cc8e33a6c1704d58b34ba8f79db44d63f38
parent58523e7cda4f3eaf7ca79c9de4a2272b5cf43415 (diff)
downloadqemu-arm-aaa999bc1f6d678ba60b64b240250fe03ac892df.tar.gz
target-arm: Drop unused DECODE_CPREG_CRN macro
This macro snuck through code review despite being unused; drop it. Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
-rw-r--r--target-arm/cpu.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/target-arm/cpu.h b/target-arm/cpu.h
index 647b7b97d5..b5298fa70d 100644
--- a/target-arm/cpu.h
+++ b/target-arm/cpu.h
@@ -424,8 +424,6 @@ void armv7m_nvic_complete_irq(void *opaque, int irq);
(((cp) << 16) | ((is64) << 15) | ((crn) << 11) | \
((crm) << 7) | ((opc1) << 3) | (opc2))
-#define DECODE_CPREG_CRN(enc) (((enc) >> 7) & 0xf)
-
/* ARMCPRegInfo type field bits. If the SPECIAL bit is set this is a
* special-behaviour cp reg and bits [15..8] indicate what behaviour
* it has. Otherwise it is a simple cp reg, where CONST indicates that