From 199fc85acd0571902eeefef6ea861b8ba4c8201f Mon Sep 17 00:00:00 2001 From: Eduardo Habkost Date: Mon, 27 Apr 2015 17:00:31 -0300 Subject: [PATCH] cpu: No need to zero-initialize CPUState::numa_node MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 --- exec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/exec.c b/exec.c index b7f7f9818..44bebe9ee 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 -- 2.39.5