[libvirt] [PULL 14/45] hw/alpha/typhoon: Remove unuseful code
David Gibson
david at gibson.dropbear.id.au
Tue Oct 23 15:18:42 UTC 2018
On Thu, Oct 18, 2018 at 05:03:51PM -0300, Eduardo Habkost wrote:
> From: Philippe Mathieu-Daudé <f4bug at amsat.org>
>
> Signed-off-by: Philippe Mathieu-Daudé <f4bug at amsat.org>
> Reviewed-by: Thomas Huth <thuth at redhat.com>
> Message-Id: <20181002212522.23303-11-f4bug at amsat.org>
> Signed-off-by: Eduardo Habkost <ehabkost at redhat.com>
Reviewed-by: David Gibson <david at gibson.dropbear.id.au>
> ---
> hw/alpha/typhoon.c | 13 -------------
> 1 file changed, 13 deletions(-)
>
> diff --git a/hw/alpha/typhoon.c b/hw/alpha/typhoon.c
> index d74b5b55e1..8004afe45b 100644
> --- a/hw/alpha/typhoon.c
> +++ b/hw/alpha/typhoon.c
> @@ -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,
--
David Gibson | I'll have my music baroque, and my code
david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_
| _way_ _around_!
http://www.ozlabs.org/~dgibson
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20181023/d88a41dc/attachment-0001.sig>
More information about the libvir-list
mailing list