diff options
author | Andreas Färber <afaerber@suse.de> | 2012-01-19 07:40:18 +0000 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2012-01-27 10:50:50 -0600 |
commit | 6e4ec3f9bb32d6f41e4fb30b872d2b7b084bc9a9 (patch) | |
tree | bfc8662de7339b3d88c85363a604b954b19328b9 | |
parent | ff452aceafc7ba4aefb8dcf5542f5ba4f32b3e44 (diff) |
unin_pci: Drop unused reset handler
Signed-off-by: Andreas Färber <afaerber@suse.de>
Signed-off-by: Alexander Graf <agraf@suse.de>
-rw-r--r-- | hw/unin_pci.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/hw/unin_pci.c b/hw/unin_pci.c index 8c03cb0374..6a10013a21 100644 --- a/hw/unin_pci.c +++ b/hw/unin_pci.c @@ -63,10 +63,6 @@ static void pci_unin_set_irq(void *opaque, int irq_num, int level) qemu_set_irq(pic[unin_irq_line[irq_num]], level); } -static void pci_unin_reset(void *opaque) -{ -} - static uint32_t unin_get_config_reg(uint32_t reg, uint32_t addr) { uint32_t retval; @@ -148,7 +144,6 @@ static int pci_unin_main_init_device(SysBusDevice *dev) sysbus_init_mmio(dev, &s->host_state.conf_mem); sysbus_init_mmio(dev, &s->host_state.data_mem); - qemu_register_reset(pci_unin_reset, &s->host_state); return 0; } @@ -169,8 +164,6 @@ static int pci_u3_agp_init_device(SysBusDevice *dev) sysbus_init_mmio(dev, &s->host_state.conf_mem); sysbus_init_mmio(dev, &s->host_state.data_mem); - qemu_register_reset(pci_unin_reset, &s->host_state); - return 0; } |