diff options
author | Eduardo Habkost <ehabkost@redhat.com> | 2015-04-27 17:00:31 -0300 |
---|---|---|
committer | Andreas Färber <afaerber@suse.de> | 2015-07-09 15:20:39 +0200 |
commit | 199fc85acd0571902eeefef6ea861b8ba4c8201f (patch) | |
tree | e98be2d71bd3ebd01ff3e942d50e02e7adfc0e22 | |
parent | acf7b7fdf31fa76b53803790917c8acf23a2badb (diff) | |
download | hqemu-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.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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 |