[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH 1/3] cpu: No need to zero-initialize numa_node
From: |
Eduardo Habkost |
Subject: |
[Qemu-devel] [PATCH 1/3] cpu: No need to zero-initialize numa_node |
Date: |
Mon, 27 Apr 2015 17:00:31 -0300 |
QOM objects are already zero-filled when instantiated, there's no need
to explicitly set numa_node to 0.
Reviewed-by: Igor Mammedov <address@hidden>
Signed-off-by: Eduardo Habkost <address@hidden>
---
exec.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/exec.c b/exec.c
index 874ecfc..3566d8f 100644
--- a/exec.c
+++ b/exec.c
@@ -545,7 +545,6 @@ void cpu_exec_init(CPUArchState *env)
cpu_index++;
}
cpu->cpu_index = cpu_index;
- cpu->numa_node = 0;
QTAILQ_INIT(&cpu->breakpoints);
QTAILQ_INIT(&cpu->watchpoints);
#ifndef CONFIG_USER_ONLY
--
2.1.0