Skip to content

Commit

Permalink
hw/alpha/typhoon: Remove unuseful code
Browse files Browse the repository at this point in the history
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20181002212522.23303-11-f4bug@amsat.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
  • Loading branch information
philmd authored and ehabkost committed Oct 24, 2018
1 parent da0f044 commit c378ade
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions hw/alpha/typhoon.c
Expand Up @@ -932,23 +932,10 @@ PCIBus *typhoon_init(ram_addr_t ram_size, ISABus **isa_bus,
return b;
}

static int typhoon_pcihost_init(SysBusDevice *dev)
{
return 0;
}

static void typhoon_pcihost_class_init(ObjectClass *klass, void *data)
{
SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);

k->init = typhoon_pcihost_init;
}

static const TypeInfo typhoon_pcihost_info = {
.name = TYPE_TYPHOON_PCI_HOST_BRIDGE,
.parent = TYPE_PCI_HOST_BRIDGE,
.instance_size = sizeof(TyphoonState),
.class_init = typhoon_pcihost_class_init,
};

static void typhoon_iommu_memory_region_class_init(ObjectClass *klass,
Expand Down

0 comments on commit c378ade

Please sign in to comment.