On a Friday in 2020, Jiri Denemark wrote:
Signed-off-by: Jiri Denemark <jdenemar(a)redhat.com>
---
src/cpu/cpu_x86.c | 26 +++++++++-----------------
1 file changed, 9 insertions(+), 17 deletions(-)
Both copy and features are unused as of:
commit d8b3dd16cb947cc16c0700c4836367b4fcb15525
cpu: Move feature expansion out of cpuBaseline
Reviewed-by: Ján Tomko <jtomko(a)redhat.com>
Jano
diff --git a/src/cpu/cpu_x86.c b/src/cpu/cpu_x86.c
index 21292fa330..d3318a28da 100644
--- a/src/cpu/cpu_x86.c
+++ b/src/cpu/cpu_x86.c
@@ -2039,8 +2039,6 @@ x86Decode(virCPUDefPtr cpu,
virCPUx86ModelPtr model = NULL;
g_autoptr(virCPUDef) cpuModel = NULL;
g_auto(virCPUx86Data) data = VIR_CPU_X86_DATA_INIT;
- g_auto(virCPUx86Data) copy = VIR_CPU_X86_DATA_INIT;
- g_auto(virCPUx86Data) features = VIR_CPU_X86_DATA_INIT;
virCPUx86VendorPtr vendor;
virDomainCapsCPUModelPtr hvModel = NULL;
g_autofree char *sigs = NULL;