From 51fb256ab5ebc3e1879eb1df9c828866a2ef8141 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Tue, 2 Jul 2013 18:26:11 +0200 Subject: cpu: Drop cpu_model_str from CPU_COMMON MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since this is only read in cpu_copy() and linux-user has a global cpu_model, drop the field from generic code. Signed-off-by: Andreas Färber --- target-mips/translate.c | 1 - 1 file changed, 1 deletion(-) (limited to 'target-mips') diff --git a/target-mips/translate.c b/target-mips/translate.c index ad43d59103..dea3956c60 100644 --- a/target-mips/translate.c +++ b/target-mips/translate.c @@ -15907,7 +15907,6 @@ MIPSCPU *cpu_mips_init(const char *cpu_model) cpu = MIPS_CPU(object_new(TYPE_MIPS_CPU)); env = &cpu->env; env->cpu_model = def; - env->cpu_model_str = cpu_model; #ifndef CONFIG_USER_ONLY mmu_init(env, def); -- cgit v1.2.1