Received: from eggs.gnu.org ([2001:4830:134:3::10]:56964) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCWU2-0000jh-5v for qemu-devel@nongnu.org; Tue, 07 Jul 2015 13:16:43 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZCWTy-00065P-LR for qemu-devel@nongnu.org; Tue, 07 Jul 2015 13:16:38 -0400 Received: from cantor2.suse.de ([195.135.220.15]:49669 helo=mx2.suse.de) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZCWTy-00063N-7G for qemu-devel@nongnu.org; Tue, 07 Jul 2015 13:16:34 -0400 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Tue, 7 Jul 2015 19:16:08 +0200 Message-Id: <1436289389-5403-2-git-send-email-afaerber@suse.de> In-Reply-To: <1436289389-5403-1-git-send-email-afaerber@suse.de> References: <1436289389-5403-1-git-send-email-afaerber@suse.de> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Subject: [Qemu-devel] [PULL v2 01/22] cpu: No need to zero-initialize CPUState::numa_node List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Paolo Bonzini , Eduardo Habkost , =?UTF-8?q?Andreas=20F=C3=A4rber?= From: Eduardo Habkost 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=C3=A4rber --- exec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/exec.c b/exec.c index 251dc79..e63f748 100644 --- a/exec.c +++ b/exec.c @@ -541,7 +541,6 @@ void cpu_exec_init(CPUArchState *env) cpu_index++; } cpu->cpu_index =3D cpu_index; - cpu->numa_node =3D 0; QTAILQ_INIT(&cpu->breakpoints); QTAILQ_INIT(&cpu->watchpoints); #ifndef CONFIG_USER_ONLY --=20 2.1.4