diff options
author | xiaoqiang zhao | 2017-01-06 01:26:28 +0100 |
---|---|---|
committer | David Gibson | 2017-01-31 00:10:13 +0100 |
commit | 0f358a0710cf8fe9ebf5aed144adb3199a68e6a7 (patch) | |
tree | e9cba05168a9f9843aa7b223850297a2f628d34e | |
parent | hw/ppc: QOM'ify ppce500_spin.c (diff) | |
download | qemu-0f358a0710cf8fe9ebf5aed144adb3199a68e6a7.tar.gz qemu-0f358a0710cf8fe9ebf5aed144adb3199a68e6a7.tar.xz qemu-0f358a0710cf8fe9ebf5aed144adb3199a68e6a7.zip |
hw/ppc: QOM'ify spapr_vio.c
Drop the old and empty SysBus init
Signed-off-by: xiaoqiang zhao <zxq_yx_007@163.com>
Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
-rw-r--r-- | hw/ppc/spapr_vio.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/hw/ppc/spapr_vio.c b/hw/ppc/spapr_vio.c index cc1e09c568..8bfc5f971f 100644 --- a/hw/ppc/spapr_vio.c +++ b/hw/ppc/spapr_vio.c @@ -538,21 +538,11 @@ VIOsPAPRBus *spapr_vio_bus_init(void) return bus; } -/* Represents sPAPR hcall VIO devices */ - -static int spapr_vio_bridge_init(SysBusDevice *dev) -{ - /* nothing */ - return 0; -} - static void spapr_vio_bridge_class_init(ObjectClass *klass, void *data) { - SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass); DeviceClass *dc = DEVICE_CLASS(klass); dc->fw_name = "vdevice"; - k->init = spapr_vio_bridge_init; } static const TypeInfo spapr_vio_bridge_info = { |