mirror of https://gitee.com/openkylin/qemu.git
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>
This commit is contained in:
parent
fbd371a3ab
commit
0f016fbd76
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue