diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2011-12-21 16:18:02 -0600 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-01-27 10:28:30 -0600 |
commit | 8a5faa1d3eeed16cce6f20ce4b5bda453f0469e2 (patch) | |
tree | af8211107a2e874e4e707fff59ed871952377087 /hw/openpic.h | |
parent | d8c51b052b6a9fe47477c4756ac69a070b176343 (diff) |
openpic: remove dead code to make a PCI device version
bus is always NULL so the code in this if clause is dead (and therefore
untested).
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'hw/openpic.h')
-rw-r--r-- | hw/openpic.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/openpic.h b/hw/openpic.h index 715f0847bf..855603026b 100644 --- a/hw/openpic.h +++ b/hw/openpic.h @@ -11,7 +11,7 @@ enum { OPENPIC_OUTPUT_NB, }; -qemu_irq *openpic_init (PCIBus *bus, MemoryRegion **pmem, int nb_cpus, +qemu_irq *openpic_init (MemoryRegion **pmem, int nb_cpus, qemu_irq **irqs, qemu_irq irq_out); qemu_irq *mpic_init (MemoryRegion *address_space, target_phys_addr_t base, int nb_cpus, qemu_irq **irqs, qemu_irq irq_out); |