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-i386 | |
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-i386')
-rw-r--r-- | target-i386/cpu.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/target-i386/cpu.c b/target-i386/cpu.c index c1c994f701..d0c9bdb629 100644 --- a/target-i386/cpu.c +++ b/target-i386/cpu.c @@ -1899,7 +1899,6 @@ X86CPU *cpu_x86_create(const char *cpu_model, DeviceState *icc_bridge, Error **errp) { X86CPU *cpu = NULL; - CPUX86State *env; gchar **model_pieces; char *name, *features; char *typename; @@ -1922,8 +1921,6 @@ X86CPU *cpu_x86_create(const char *cpu_model, DeviceState *icc_bridge, qdev_set_parent_bus(DEVICE(cpu), qdev_get_child_bus(icc_bridge, "icc")); object_unref(OBJECT(cpu)); #endif - env = &cpu->env; - env->cpu_model_str = cpu_model; cpu_x86_register(cpu, name, &error); if (error) { |