diff options
author | Andreas Färber <afaerber@suse.de> | 2013-07-02 18:26:11 +0200 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2013-10-07 11:48:47 +0200 |
commit | 51fb256ab5ebc3e1879eb1df9c828866a2ef8141 (patch) | |
tree | 85d136dd7e316ab158c3db2b45887f543bdedb4f /target-openrisc | |
parent | 30ba0ee52d1519b717089782ef1caf0480a01dc3 (diff) |
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-openrisc')
-rw-r--r-- | target-openrisc/cpu.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/target-openrisc/cpu.c b/target-openrisc/cpu.c index 075f00a897..813794300b 100644 --- a/target-openrisc/cpu.c +++ b/target-openrisc/cpu.c @@ -209,7 +209,6 @@ OpenRISCCPU *cpu_openrisc_init(const char *cpu_model) return NULL; } cpu = OPENRISC_CPU(object_new(object_class_get_name(oc))); - cpu->env.cpu_model_str = cpu_model; object_property_set_bool(OBJECT(cpu), true, "realized", NULL); |