diff options
author | Richard Henderson <richard.henderson@linaro.org> | 2023-09-13 17:36:27 -0700 |
---|---|---|
committer | Richard Henderson <richard.henderson@linaro.org> | 2023-10-04 11:03:54 -0700 |
commit | 8fa08d7ec7d8c36fc2c96bd135cb09c086b26a14 (patch) | |
tree | 03044a649b433ed87138b1203a612185164b72d0 /target/m68k/cpu.c | |
parent | b77af26e973705e8fd96cff102fc978ee44043da (diff) | |
download | qemu-8fa08d7ec7d8c36fc2c96bd135cb09c086b26a14.zip qemu-8fa08d7ec7d8c36fc2c96bd135cb09c086b26a14.tar.gz qemu-8fa08d7ec7d8c36fc2c96bd135cb09c086b26a14.tar.bz2 |
accel/tcg: Remove cpu_set_cpustate_pointers
This function is now empty, so remove it. In the case of
m68k and tricore, this empties the class instance initfn,
so remove those as well.
Reviewed-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/m68k/cpu.c')
-rw-r--r-- | target/m68k/cpu.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/target/m68k/cpu.c b/target/m68k/cpu.c index d34d1b5..538d947 100644 --- a/target/m68k/cpu.c +++ b/target/m68k/cpu.c @@ -327,13 +327,6 @@ static void m68k_cpu_realizefn(DeviceState *dev, Error **errp) mcc->parent_realize(dev, errp); } -static void m68k_cpu_initfn(Object *obj) -{ - M68kCPU *cpu = M68K_CPU(obj); - - cpu_set_cpustate_pointers(cpu); -} - #if !defined(CONFIG_USER_ONLY) static bool fpu_needed(void *opaque) { @@ -612,7 +605,6 @@ static const TypeInfo m68k_cpus_type_infos[] = { .parent = TYPE_CPU, .instance_size = sizeof(M68kCPU), .instance_align = __alignof(M68kCPU), - .instance_init = m68k_cpu_initfn, .abstract = true, .class_size = sizeof(M68kCPUClass), .class_init = m68k_cpu_class_init, |