Skip to content

Commit aee74f3

Browse files
Yinghai Lutorvalds
authored andcommitted
kvm: remove the duplicated cpumask_clear
zalloc_cpumask_var already cleared it. Signed-off-by: Yinghai Lu <yinghai@kernel.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 12274e9 commit aee74f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

virt/kvm/kvm_main.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2604,7 +2604,6 @@ int kvm_init(void *opaque, unsigned int vcpu_size,
26042604
r = -ENOMEM;
26052605
goto out_free_0;
26062606
}
2607-
cpumask_clear(cpus_hardware_enabled);
26082607

26092608
r = kvm_arch_hardware_setup();
26102609
if (r < 0)

0 commit comments

Comments
 (0)