[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v3 26/42] i386: Remove unused host_cpudef variable
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL v3 26/42] i386: Remove unused host_cpudef variable |
Date: |
Tue, 2 Jul 2019 12:35:19 -0300 |
The variable is completely unused, probably a leftover from
previous code clean up.
Signed-off-by: Eduardo Habkost <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Dr. David Alan Gilbert <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
target/i386/cpu.c | 6 ------
1 file changed, 6 deletions(-)
diff --git a/target/i386/cpu.c b/target/i386/cpu.c
index 8d5d34849c..35ecb4113c 100644
--- a/target/i386/cpu.c
+++ b/target/i386/cpu.c
@@ -3134,14 +3134,8 @@ static void max_x86_cpu_initfn(Object *obj)
char vendor[CPUID_VENDOR_SZ + 1] = { 0 };
char model_id[CPUID_MODEL_ID_SZ + 1] = { 0 };
int family, model, stepping;
- X86CPUDefinition host_cpudef = { };
- uint32_t eax = 0, ebx = 0, ecx = 0, edx = 0;
-
- host_cpuid(0x0, 0, &eax, &ebx, &ecx, &edx);
- x86_cpu_vendor_words2str(host_cpudef.vendor, ebx, edx, ecx);
host_vendor_fms(vendor, &family, &model, &stepping);
-
cpu_x86_fill_model_id(model_id);
object_property_set_str(OBJECT(cpu), vendor, "vendor", &error_abort);
--
2.18.0.rc1.1.g3f1ff2140
- [Qemu-devel] [PULL v3 17/42] numa: deprecate 'mem' parameter of '-numa node' option, (continued)
- [Qemu-devel] [PULL v3 17/42] numa: deprecate 'mem' parameter of '-numa node' option, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 18/42] numa: deprecate implict memory distribution between nodes, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 15/42] pc: fix possible NULL pointer dereference in pc_machine_get_device_memory_region_size(), Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 20/42] target/i386: fix feature check in hyperv-stub.c, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 19/42] hppa: Delete unused hppa_cpu_list() function, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 24/42] i386: make 'hv-spinlocks' a regular uint32 property, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 25/42] x86/cpu: use FeatureWordArray to define filtered_features, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 22/42] i386: Don't print warning if phys-bits was set automatically, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 21/42] deprecate -mem-path fallback to anonymous RAM, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 23/42] i386: Fix signedness of hyperv_spinlock_attempts, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 26/42] i386: Remove unused host_cpudef variable,
Eduardo Habkost <=
- [Qemu-devel] [PULL v3 27/42] target/i386: Add CPUID.1F generation support for multi-dies PCMachine, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 28/42] machine: Refactor smp_parse() in vl.c as MachineClass::smp_parse(), Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 29/42] vl.c: Add -smp, dies=* command line support and update doc, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 30/42] qmp: Add deprecation information to query-machines, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 31/42] i386: Introduce SnowRidge CPU model, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 34/42] i386: Get model-id from CPU object on "-cpu help", Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 33/42] i386: Add x-force-features option for testing, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 32/42] qmp: Add "alias-of" field to query-cpu-definitions, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 39/42] docs: Deprecate CPU model runnability guarantees, Eduardo Habkost, 2019/07/02
- [Qemu-devel] [PULL v3 40/42] i386: Add Cascadelake-Server-v2 CPU model, Eduardo Habkost, 2019/07/02