aboutsummaryrefslogtreecommitdiff
path: root/hw/ide/cmd646.c
diff options
context:
space:
mode:
authorMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2020-03-07 09:13:13 +0000
committerJohn Snow <jsnow@redhat.com>2020-03-10 14:50:13 -0400
commitd32a4f3bdf4ad85672d41a245c090da79482bf85 (patch)
treed623651eb4b5fa42bc6df7aa3270c3d56e604eb4 /hw/ide/cmd646.c
parent2529791082199b4134b37b5dbf78e33bc0c86e89 (diff)
downloadqemu-d32a4f3bdf4ad85672d41a245c090da79482bf85.zip
qemu-d32a4f3bdf4ad85672d41a245c090da79482bf85.tar.gz
qemu-d32a4f3bdf4ad85672d41a245c090da79482bf85.tar.bz2
cmd646: remove unused pci_cmd646_ide_init() function
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Message-id: 20200307091313.24190-3-mark.cave-ayland@ilande.co.uk Signed-off-by: John Snow <jsnow@redhat.com>
Diffstat (limited to 'hw/ide/cmd646.c')
-rw-r--r--hw/ide/cmd646.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/hw/ide/cmd646.c b/hw/ide/cmd646.c
index 3c4f765..699f258 100644
--- a/hw/ide/cmd646.c
+++ b/hw/ide/cmd646.c
@@ -314,18 +314,6 @@ static void pci_cmd646_ide_exitfn(PCIDevice *dev)
}
}
-void pci_cmd646_ide_init(PCIBus *bus, DriveInfo **hd_table,
- int secondary_ide_enabled)
-{
- PCIDevice *dev;
-
- dev = pci_create(bus, -1, "cmd646-ide");
- qdev_prop_set_uint32(&dev->qdev, "secondary", secondary_ide_enabled);
- qdev_init_nofail(&dev->qdev);
-
- pci_ide_create_devs(dev, hd_table);
-}
-
static Property cmd646_ide_properties[] = {
DEFINE_PROP_UINT32("secondary", PCIIDEState, secondary, 0),
DEFINE_PROP_END_OF_LIST(),