The instance_init() functions for several of the pseries-x.y versioned
machine types explicitly call spapr_machine_initfn(). But that's the
instance_init function for the common parent of all those machine types,
so will already have been called beforehand by the QOM infrastructure.
Remove the redundant calls.
Signed-off-by: David Gibson <[email protected]>
Reviewed-by: Thomas Huth <[email protected]>
Reviewed-by: Alexey Kardashevskiy <[email protected]>
static void spapr_machine_2_3_instance_init(Object *obj)
{
spapr_compat_2_3(obj);
- spapr_machine_initfn(obj);
}
static void spapr_machine_2_3_class_init(ObjectClass *oc, void *data)
static void spapr_machine_2_2_instance_init(Object *obj)
{
spapr_compat_2_2(obj);
- spapr_machine_initfn(obj);
}
static void spapr_machine_2_2_class_init(ObjectClass *oc, void *data)
static void spapr_machine_2_1_instance_init(Object *obj)
{
spapr_compat_2_1(obj);
- spapr_machine_initfn(obj);
}
static void spapr_machine_2_1_class_init(ObjectClass *oc, void *data)