[libvirt] [PULL 16/45] hw/mips/malta: Remove unuseful code
David Gibson
david at gibson.dropbear.id.au
Tue Oct 23 15:19:24 UTC 2018
On Thu, Oct 18, 2018 at 05:03:53PM -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-13-f4bug at amsat.org>
> Signed-off-by: Eduardo Habkost <ehabkost at redhat.com>
Reviewed-by: David Gibson <david at gibson.dropbear.id.au>
> ---
> hw/mips/mips_malta.c | 13 -------------
> 1 file changed, 13 deletions(-)
>
> diff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c
> index 29b90bacf3..c1cf0fe12e 100644
> --- a/hw/mips/mips_malta.c
> +++ b/hw/mips/mips_malta.c
> @@ -1422,23 +1422,10 @@ void mips_malta_init(MachineState *machine)
> pci_vga_init(pci_bus);
> }
>
> -static int mips_malta_sysbus_device_init(SysBusDevice *sysbusdev)
> -{
> - return 0;
> -}
> -
> -static void mips_malta_class_init(ObjectClass *klass, void *data)
> -{
> - SysBusDeviceClass *k = SYS_BUS_DEVICE_CLASS(klass);
> -
> - k->init = mips_malta_sysbus_device_init;
> -}
> -
> static const TypeInfo mips_malta_device = {
> .name = TYPE_MIPS_MALTA,
> .parent = TYPE_SYS_BUS_DEVICE,
> .instance_size = sizeof(MaltaState),
> - .class_init = mips_malta_class_init,
> };
>
> static void mips_malta_machine_init(MachineClass *mc)
--
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/4dec4ba0/attachment-0001.sig>
More information about the libvir-list
mailing list