aboutsummaryrefslogtreecommitdiff
path: root/target-moxie/cpu.c
diff options
context:
space:
mode:
authorAndreas Färber <afaerber@suse.de>2013-07-02 18:26:11 +0200
committerAndreas Färber <afaerber@suse.de>2013-10-07 11:48:47 +0200
commit51fb256ab5ebc3e1879eb1df9c828866a2ef8141 (patch)
tree85d136dd7e316ab158c3db2b45887f543bdedb4f /target-moxie/cpu.c
parent30ba0ee52d1519b717089782ef1caf0480a01dc3 (diff)
downloadqemu-51fb256ab5ebc3e1879eb1df9c828866a2ef8141.zip
qemu-51fb256ab5ebc3e1879eb1df9c828866a2ef8141.tar.gz
qemu-51fb256ab5ebc3e1879eb1df9c828866a2ef8141.tar.bz2
cpu: Drop cpu_model_str from CPU_COMMON
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 <afaerber@suse.de>
Diffstat (limited to 'target-moxie/cpu.c')
-rw-r--r--target-moxie/cpu.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/target-moxie/cpu.c b/target-moxie/cpu.c
index d97a091..484ecc2 100644
--- a/target-moxie/cpu.c
+++ b/target-moxie/cpu.c
@@ -138,7 +138,6 @@ MoxieCPU *cpu_moxie_init(const char *cpu_model)
return NULL;
}
cpu = MOXIE_CPU(object_new(object_class_get_name(oc)));
- cpu->env.cpu_model_str = cpu_model;
object_property_set_bool(OBJECT(cpu), true, "realized", NULL);