aboutsummaryrefslogtreecommitdiff
path: root/hw/openpic.c
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-11-07 09:32:21 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-11-07 09:32:21 +0000
commite43941318d22795df91682fec6720540ede6ad02 (patch)
tree79ec2322ea7cf2e5bc242c4fcc4c901003ecba60 /hw/openpic.c
parenta01d6ef44622a2baf799a207809d090ca9882468 (diff)
PPC: remove unneeded calls to device reset
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'hw/openpic.c')
-rw-r--r--hw/openpic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/hw/openpic.c b/hw/openpic.c
index 74dde6d1cb..ebf441c4b7 100644
--- a/hw/openpic.c
+++ b/hw/openpic.c
@@ -1254,7 +1254,6 @@ qemu_irq *openpic_init (PCIBus *bus, int *pmem_index, int nb_cpus,
opp->irq_raise = openpic_irq_raise;
opp->reset = openpic_reset;
- opp->reset(opp);
if (pmem_index)
*pmem_index = opp->mem_index;
@@ -1709,7 +1708,6 @@ qemu_irq *mpic_init (target_phys_addr_t base, int nb_cpus,
register_savevm("mpic", 0, 2, openpic_save, openpic_load, mpp);
qemu_register_reset(mpic_reset, mpp);
- mpp->reset(mpp);
return qemu_allocate_irqs(openpic_set_irq, mpp, mpp->max_irq);