aboutsummaryrefslogtreecommitdiff
path: root/target/sh4
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2023-09-13 17:36:27 -0700
committerRichard Henderson <richard.henderson@linaro.org>2023-10-04 11:03:54 -0700
commit8fa08d7ec7d8c36fc2c96bd135cb09c086b26a14 (patch)
tree03044a649b433ed87138b1203a612185164b72d0 /target/sh4
parentb77af26e973705e8fd96cff102fc978ee44043da (diff)
downloadqemu-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/sh4')
-rw-r--r--target/sh4/cpu.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/target/sh4/cpu.c b/target/sh4/cpu.c
index a90e41c..788e41f 100644
--- a/target/sh4/cpu.c
+++ b/target/sh4/cpu.c
@@ -239,8 +239,6 @@ static void superh_cpu_initfn(Object *obj)
SuperHCPU *cpu = SUPERH_CPU(obj);
CPUSH4State *env = &cpu->env;
- cpu_set_cpustate_pointers(cpu);
-
env->movcal_backup_tail = &(env->movcal_backup);
}