[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v2 10/12] hw/alpha/typhoon: Remove unuseful code
From: |
Philippe Mathieu-Daudé |
Subject: |
[Qemu-devel] [PATCH v2 10/12] hw/alpha/typhoon: Remove unuseful code |
Date: |
Tue, 2 Oct 2018 23:25:19 +0200 |
Signed-off-by: Philippe Mathieu-Daudé <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
---
hw/alpha/typhoon.c | 13 -------------
1 file changed, 13 deletions(-)
diff --git a/hw/alpha/typhoon.c b/hw/alpha/typhoon.c
index d74b5b55e1..8004afe45b 100644
--- a/hw/alpha/typhoon.c
+++ b/hw/alpha/typhoon.c
@@ -932,23 +932,10 @@ PCIBus *typhoon_init(ram_addr_t ram_size, ISABus
**isa_bus,
return b;
}
-static int typhoon_pcihost_init(SysBusDevice *dev)
-{
- return 0;
-}
-
-static void typhoon_pcihost_class_init(ObjectClass *klass, void *data)
-{
- SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
-
- k->init = typhoon_pcihost_init;
-}
-
static const TypeInfo typhoon_pcihost_info = {
.name = TYPE_TYPHOON_PCI_HOST_BRIDGE,
.parent = TYPE_PCI_HOST_BRIDGE,
.instance_size = sizeof(TyphoonState),
- .class_init = typhoon_pcihost_class_init,
};
static void typhoon_iommu_memory_region_class_init(ObjectClass *klass,
--
2.19.0
- [Qemu-devel] [PATCH v2 02/12] hw/timer/sun4v-rtc: Convert from DPRINTF() macro to trace events, (continued)
- [Qemu-devel] [PATCH v2 02/12] hw/timer/sun4v-rtc: Convert from DPRINTF() macro to trace events, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 06/12] hw/pci-host/bonito: Use DeviceState::realize rather than SysBusDevice::init, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 05/12] hw/sh4/sh_pci: Use DeviceState::realize rather than SysBusDevice::init, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 07/12] hw/mips/gt64xxx_pci: Convert gt64120_reset() function into Device reset method, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 08/12] hw/mips/gt64xxx_pci: Mark as bridge device, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 11/12] hw/hppa/dino: Remove unuseful code, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 12/12] hw/mips/malta: Remove unuseful code, Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 09/12] hw/sparc64/niagara: Model the I/O Bridge with the 'unimplemented_device', Philippe Mathieu-Daudé, 2018/10/02
- [Qemu-devel] [PATCH v2 10/12] hw/alpha/typhoon: Remove unuseful code,
Philippe Mathieu-Daudé <=
- Re: [Qemu-devel] [PATCH v2 00/12] another SysBusDevice::init to Device::realize cleanup, Philippe Mathieu-Daudé, 2018/10/09