summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEduardo Habkost <ehabkost@redhat.com>2015-04-27 17:00:31 -0300
committerAndreas Färber <afaerber@suse.de>2015-07-09 15:20:39 +0200
commit199fc85acd0571902eeefef6ea861b8ba4c8201f (patch)
treee98be2d71bd3ebd01ff3e942d50e02e7adfc0e22
parentacf7b7fdf31fa76b53803790917c8acf23a2badb (diff)
downloadhqemu-199fc85acd0571902eeefef6ea861b8ba4c8201f.zip
hqemu-199fc85acd0571902eeefef6ea861b8ba4c8201f.tar.gz
cpu: No need to zero-initialize CPUState::numa_node
QOM objects are already zero-filled when instantiated, there's no need to explicitly set numa_node to 0. Reviewed-by: Igor Mammedov <imammedo@redhat.com> Signed-off-by: Eduardo Habkost <ehabkost@redhat.com> Signed-off-by: Andreas Färber <afaerber@suse.de>
-rw-r--r--exec.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/exec.c b/exec.c
index b7f7f98..44bebe9 100644
--- a/exec.c
+++ b/exec.c
@@ -541,7 +541,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
OpenPOWER on IntegriCloud