include/hw/or-irq.h: Drop unused in_irqs field
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.
Signed-off-by Peter Maydell <[email protected]>
--- include/hw/or-irq.h | 1 - 1 file changed, 1 deletion(-)
include/hw/or-irq.h +0 -1
@@ -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
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.Signed-off-by Peter Maydell <[email protected]>
Good catch.
Reviewed-by Alistair Francis <[email protected]>
Thanks,
Alistair
Quoted 20 lines
--- include/hw/or-irq.h | 1 - 1 file changed, 1 deletion(-)include/hw/or-irq.h +0
-2@@ -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