diff options
| author | Andreas Färber | 2013-07-02 18:26:11 +0200 |
|---|---|---|
| committer | Andreas Färber | 2013-10-07 11:48:47 +0200 |
| commit | 51fb256ab5ebc3e1879eb1df9c828866a2ef8141 (patch) | |
| tree | 85d136dd7e316ab158c3db2b45887f543bdedb4f /target-mips | |
| parent | cpu: Move cpu_copy() into linux-user (diff) | |
| download | qemu-51fb256ab5ebc3e1879eb1df9c828866a2ef8141.tar.gz qemu-51fb256ab5ebc3e1879eb1df9c828866a2ef8141.tar.xz qemu-51fb256ab5ebc3e1879eb1df9c828866a2ef8141.zip | |
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-mips')
| -rw-r--r-- | target-mips/translate.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |
