summaryrefslogtreecommitdiffstats
path: root/hw
diff options
context:
space:
mode:
authorMark Cave-Ayland2018-09-19 19:20:59 +0200
committerDavid Gibson2018-09-25 03:12:25 +0200
commite090a054a7c1d8cada034a362d05b2a8fee3a420 (patch)
tree4ef9de87594f5e4c20cd3e8da922b1f605c95d4c /hw
parentscsi: move lsi53c8xx_create() callers to lsi53c8xx_handle_legacy_cmdline() (diff)
downloadqemu-e090a054a7c1d8cada034a362d05b2a8fee3a420.tar.gz
qemu-e090a054a7c1d8cada034a362d05b2a8fee3a420.tar.xz
qemu-e090a054a7c1d8cada034a362d05b2a8fee3a420.zip
scsi: remove unused lsi53c895a_create() and lsi53c810_create() functions
Now that these functions are no longer required they can be removed. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> Reviewed-by: Thomas Huth <thuth@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Signed-off-by: David Gibson <david@gibson.dropbear.id.au>
Diffstat (limited to 'hw')
-rw-r--r--hw/scsi/lsi53c895a.c14
1 files changed, 0 insertions, 14 deletions
diff --git a/hw/scsi/lsi53c895a.c b/hw/scsi/lsi53c895a.c
index 8f5ab82d57..f5cbbf653c 100644
--- a/hw/scsi/lsi53c895a.c
+++ b/hw/scsi/lsi53c895a.c
@@ -2277,20 +2277,6 @@ static void lsi53c895a_register_types(void)
type_init(lsi53c895a_register_types)
-void lsi53c895a_create(PCIBus *bus)
-{
- LSIState *s = LSI53C895A(pci_create_simple(bus, -1, "lsi53c895a"));
-
- scsi_bus_legacy_handle_cmdline(&s->bus);
-}
-
-void lsi53c810_create(PCIBus *bus, int devfn)
-{
- LSIState *s = LSI53C895A(pci_create_simple(bus, devfn, "lsi53c810"));
-
- scsi_bus_legacy_handle_cmdline(&s->bus);
-}
-
void lsi53c8xx_handle_legacy_cmdline(DeviceState *lsi_dev)
{
LSIState *s = LSI53C895A(lsi_dev);