summaryrefslogtreecommitdiffstats
path: root/hw/ide
diff options
context:
space:
mode:
authorBALATON Zoltan2020-03-13 09:24:39 +0100
committerJohn Snow2020-03-17 02:08:21 +0100
commitc06cde44eb41a6762fc4b79827dda84ea8842d2a (patch)
tree4950c9219233708ac7785fc0313796f8ad7f25f3 /hw/ide
parentvia-ide: move registration of VMStateDescription to DeviceClass (diff)
downloadqemu-c06cde44eb41a6762fc4b79827dda84ea8842d2a.tar.gz
qemu-c06cde44eb41a6762fc4b79827dda84ea8842d2a.tar.xz
qemu-c06cde44eb41a6762fc4b79827dda84ea8842d2a.zip
ide/via: Get rid of via_ide_init()
Follow example of CMD646 and remove via_ide_init function and do it directly in board code instead. Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Tested-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Message-id: 20200313082444.2439-3-mark.cave-ayland@ilande.co.uk Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/ide')
-rw-r--r--hw/ide/via.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/hw/ide/via.c b/hw/ide/via.c
index 84f0efff94..3153be8862 100644
--- a/hw/ide/via.c
+++ b/hw/ide/via.c
@@ -211,14 +211,6 @@ static void via_ide_exitfn(PCIDevice *dev)
}
}
-void via_ide_init(PCIBus *bus, DriveInfo **hd_table, int devfn)
-{
- PCIDevice *dev;
-
- dev = pci_create_simple(bus, devfn, "via-ide");
- pci_ide_create_devs(dev, hd_table);
-}
-
static void via_ide_class_init(ObjectClass *klass, void *data)
{
DeviceClass *dc = DEVICE_CLASS(klass);