diff options
author | Philippe Mathieu-Daudé <f4bug@amsat.org> | 2018-10-02 23:25:21 +0200 |
---|---|---|
committer | Eduardo Habkost <ehabkost@redhat.com> | 2018-10-24 06:44:59 -0300 |
commit | 0f016fbd76c3db0523caaf3fa62844f54ab4cb21 (patch) | |
tree | e46b9c4ad21becb95df3962fb607dc9b0cb3b19b /hw/mips | |
parent | fbd371a3ab7f38b612d3421849ed16c7d59dce9b (diff) | |
download | qemu-0f016fbd76c3db0523caaf3fa62844f54ab4cb21.zip qemu-0f016fbd76c3db0523caaf3fa62844f54ab4cb21.tar.gz qemu-0f016fbd76c3db0523caaf3fa62844f54ab4cb21.tar.bz2 |
hw/mips/malta: Remove unuseful code
Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Thomas Huth <thuth@redhat.com>
Message-Id: <20181002212522.23303-13-f4bug@amsat.org>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Diffstat (limited to 'hw/mips')
-rw-r--r-- | hw/mips/mips_malta.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/hw/mips/mips_malta.c b/hw/mips/mips_malta.c index 29b90ba..c1cf0fe 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) |