From: Peter Crosthwaite <[email protected]> Since commit aca59af612840772f18598363b65a25bf02bb569 QOM automatically inherits class and instance size from the parent class. No need to redefine as the same value as the parent.
Signed-off-by: Peter Crosthwaite <[email protected]> Reviewed-by: Andreas Färber <[email protected]> --- changed since v2: Added fixing commit reference (AF review). target-arm/cpu.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/target-arm/cpu.c b/target-arm/cpu.c index be26acc..c2e1800 100644 --- a/target-arm/cpu.c +++ b/target-arm/cpu.c @@ -818,9 +818,7 @@ static void cpu_register(const ARMCPUInfo *info) { TypeInfo type_info = { .parent = TYPE_ARM_CPU, - .instance_size = sizeof(ARMCPU), .instance_init = info->initfn, - .class_size = sizeof(ARMCPUClass), .class_init = info->class_init, }; -- 1.8.3.rc1.44.gb387c77.dirty
