Skip to contentSkip to conversation

target-arm: Drop unused DECODE_CPREG_CRN macro

PATCH New Peter Maydell 1 participant 1 message Oct 4, 2012

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 target-arm: Drop unused DECODE_CPREG_CRN macro

This macro snuck through code review despite being unused; drop it.

---
 target-arm/cpu.h |    2 --
 1 file changed, 2 deletions(-)
target-arm/cpu.h +0 -2
index 7fac94f..ff4de10 100644
@@ -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
Signature · 1 line
1.7.9.5