Commit e090a054 authored by Mark Cave-Ayland's avatar Mark Cave-Ayland Committed by David Gibson
Browse files

scsi: remove unused lsi53c895a_create() and lsi53c810_create() functions



Now that these functions are no longer required they can be removed.

Signed-off-by: default avatarMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
Reviewed-by: default avatarThomas Huth <thuth@redhat.com>
Reviewed-by: default avatarPhilippe Mathieu-Daudé <f4bug@amsat.org>
Signed-off-by: default avatarDavid Gibson <david@gibson.dropbear.id.au>
parent 877eb21d
Loading
Loading
Loading
Loading
+0 −14
Original line number Diff line number Diff line
@@ -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);
+0 −2
Original line number Diff line number Diff line
@@ -707,8 +707,6 @@ PCIDevice *pci_create_simple_multifunction(PCIBus *bus, int devfn,
PCIDevice *pci_create(PCIBus *bus, int devfn, const char *name);
PCIDevice *pci_create_simple(PCIBus *bus, int devfn, const char *name);

void lsi53c895a_create(PCIBus *bus);
void lsi53c810_create(PCIBus *bus, int devfn);
void lsi53c8xx_handle_legacy_cmdline(DeviceState *lsi_dev);

qemu_irq pci_allocate_irq(PCIDevice *pci_dev);