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.

Backports commit 199fc85acd0571902eeefef6ea861b8ba4c8201f from qemu
This commit is contained in:
Eduardo Habkost 2018-02-14 13:30:52 -05:00 committed by Lioncash
parent 2e97ecfbcd
commit 4e39fabd4d
No known key found for this signature in database
GPG key ID: 4E3C3CC1031BA9C7

View file

@ -411,7 +411,6 @@ void cpu_exec_init(CPUArchState *env, void *opaque)
env->uc = uc;
cpu->cpu_index = 0;
cpu->numa_node = 0;
QTAILQ_INIT(&cpu->breakpoints);
QTAILQ_INIT(&cpu->watchpoints);