From: Eduardo Habkost Date: Mon, 27 Apr 2015 20:00:31 +0000 (-0300) Subject: cpu: No need to zero-initialize CPUState::numa_node X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=199fc85acd0571902eeefef6ea861b8ba4c8201f;p=qemu.git 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 Signed-off-by: Eduardo Habkost Signed-off-by: Andreas Färber --- diff --git a/exec.c b/exec.c index b7f7f9818f..44bebe9ee1 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