aboutsummaryrefslogtreecommitdiff
path: root/hw/openpic.h
diff options
context:
space:
mode:
authorAnthony Liguori <aliguori@us.ibm.com>2011-12-21 16:18:02 -0600
committerAnthony Liguori <aliguori@us.ibm.com>2012-01-27 10:28:30 -0600
commit8a5faa1d3eeed16cce6f20ce4b5bda453f0469e2 (patch)
treeaf8211107a2e874e4e707fff59ed871952377087 /hw/openpic.h
parentd8c51b052b6a9fe47477c4756ac69a070b176343 (diff)
downloadqemu-8a5faa1d3eeed16cce6f20ce4b5bda453f0469e2.zip
qemu-8a5faa1d3eeed16cce6f20ce4b5bda453f0469e2.tar.gz
qemu-8a5faa1d3eeed16cce6f20ce4b5bda453f0469e2.tar.bz2
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/openpic.h b/hw/openpic.h
index 715f084..8556030 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);