]> git.proxmox.com Git - qemu.git/commitdiff
target-arm: Drop unused DECODE_CPREG_CRN macro
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Oct 2012 14:04:45 +0000 (15:04 +0100)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 5 Oct 2012 14:04:45 +0000 (15:04 +0100)
This macro snuck through code review despite being unused; drop it.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
target-arm/cpu.h

index 7fac94f8175eb09500183bdcb3dd23756adf2eb3..ff4de10f1203a77fc429c84b60c1f695ca173424 100644 (file)
@@ -423,8 +423,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