Skip to content

Commit

Permalink
kvm: remove the duplicated cpumask_clear
Browse files Browse the repository at this point in the history
zalloc_cpumask_var already cleared it.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
  • Loading branch information
Yinghai Lu authored and torvalds committed Jun 12, 2009
1 parent 12274e9 commit aee74f3
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion virt/kvm/kvm_main.c
Original file line number Diff line number Diff line change
Expand Up @@ -2604,7 +2604,6 @@ int kvm_init(void *opaque, unsigned int vcpu_size,
r = -ENOMEM;
goto out_free_0;
}
cpumask_clear(cpus_hardware_enabled);

r = kvm_arch_hardware_setup();
if (r < 0)
Expand Down

0 comments on commit aee74f3

Please sign in to comment.