[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL v2 26/29] i386: Remove unused host_cpudef variable
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PULL v2 26/29] i386: Remove unused host_cpudef variable |
Date: |
Fri, 28 Jun 2019 15:47:39 -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 v2 14/29] i386: Update new x86_apicid parsing rules with die_offset support, (continued)
- [Qemu-devel] [PULL v2 14/29] i386: Update new x86_apicid parsing rules with die_offset support, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 15/29] pc: fix possible NULL pointer dereference in pc_machine_get_device_memory_region_size(), Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 16/29] machine: show if CLI option '-numa node, mem' is supported in QAPI schema, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 18/29] numa: deprecate implict memory distribution between nodes, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 17/29] numa: deprecate 'mem' parameter of '-numa node' option, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 19/29] hppa: Delete unused hppa_cpu_list() function, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 20/29] target/i386: fix feature check in hyperv-stub.c, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 21/29] deprecate -mem-path fallback to anonymous RAM, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 22/29] i386: Don't print warning if phys-bits was set automatically, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 23/29] i386: Fix signedness of hyperv_spinlock_attempts, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 26/29] i386: Remove unused host_cpudef variable,
Eduardo Habkost <=
- [Qemu-devel] [PULL v2 24/29] i386: make 'hv-spinlocks' a regular uint32 property, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 25/29] x86/cpu: use FeatureWordArray to define filtered_features, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 27/29] target/i386: Add CPUID.1F generation support for multi-dies PCMachine, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 29/29] vl.c: Add -smp, dies=* command line support and update doc, Eduardo Habkost, 2019/06/28
- [Qemu-devel] [PULL v2 28/29] machine: Refactor smp_parse() in vl.c as MachineClass::smp_parse(), Eduardo Habkost, 2019/06/28