Skip to contentSkip to conversation

include/hw/or-irq.h: Drop unused in_irqs field

PATCH In review Peter Maydell 2 participants 2 messages Oct 12, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 include/hw/or-irq.h: Drop unused in_irqs field

The struct OrIRQState has an unused member field in_irqs. This is a legacy of earlier versions of the patch; the code that used it was dropped from the final version of the code that went into master, but we forgot to delete the no-longer-used struct field. Do so now.

---
 include/hw/or-irq.h | 1 -
 1 file changed, 1 deletion(-)
include/hw/or-irq.h +0 -1
index d400a81..fd900fc 100644
@@ -38,7 +38,6 @@ struct OrIRQState {
     DeviceState parent_obj;
 
     qemu_irq out_irq;
-    qemu_irq *in_irqs;
     bool levels[MAX_OR_LINES];
     uint16_t num_lines;
 };
Signature · 1 line
2.7.4
Reviewed-by on v1 1/1
#1 lore raw
Quoted 7 lines · Peter Maydell

The struct OrIRQState has an unused member field in_irqs. This is a legacy of earlier versions of the patch; the code that used it was dropped from the final version of the code that went into master, but we forgot to delete the no-longer-used struct field. Do so now.

Good catch.

Thanks,
Alistair

Quoted 20 lines
---
 include/hw/or-irq.h | 1 -
 1 file changed, 1 deletion(-)
include/hw/or-irq.h +0 -2
index d400a81..fd900fc 100644
@@ -38,7 +38,6 @@ struct OrIRQState {
     DeviceState parent_obj;
 
     qemu_irq out_irq;
-    qemu_irq *in_irqs;
     bool levels[MAX_OR_LINES];
     uint16_t num_lines;
 };
--

2.7.4