We removed all implementations of AccelCPUClass::cpu_target_realize, remove the calls in accel_cpu_common_realize().
Signed-off-by: Philippe Mathieu-Daudé <[email protected]> --- include/accel/accel-cpu.h | 2 -- accel/accel-common.c | 7 ------- 2 files changed, 9 deletions(-) diff --git a/include/accel/accel-cpu.h b/include/accel/accel-cpu.h index c42221f96cf..d7ea45ada2e 100644 --- a/include/accel/accel-cpu.h +++ b/include/accel/accel-cpu.h @@ -14,8 +14,6 @@ typedef struct AccelCPUClass { ObjectClass parent_class; - - bool (*cpu_target_realize)(CPUState *cpu, Error **errp); } AccelCPUClass; #endif /* ACCEL_CPU_H */ diff --git a/accel/accel-common.c b/accel/accel-common.c index 04482b6b57e..d8ee6d62667 100644 --- a/accel/accel-common.c +++ b/accel/accel-common.c @@ -52,13 +52,6 @@ bool accel_cpu_common_realize(CPUState *cpu, Error **errp) AccelState *accel = current_accel(); AccelClass *acc = ACCEL_GET_CLASS(accel); - /* target specific realization */ - if (cpu->cc->accel_cpu - && cpu->cc->accel_cpu->cpu_target_realize - && !cpu->cc->accel_cpu->cpu_target_realize(cpu, errp)) { - return false; - } - /* generic realization */ if (acc->cpu_common_realize && !acc->cpu_common_realize(cpu, errp)) { return false; -- 2.53.0
