mirror of
https://github.com/yuzu-emu/unicorn
synced 2024-11-25 23:38:04 +00:00
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:
parent
2e97ecfbcd
commit
4e39fabd4d
1 changed files with 0 additions and 1 deletions
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in a new issue