diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-06-11 18:09:00 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-11 23:04:37 -0400 |
commit | aee74f3bb3f4fb5dbeae8c1947c6d8ebdc19ee01 (patch) | |
tree | fd86fd5a4f8adf8d185c1bfb8972253570958cdf /virt/kvm/kvm_main.c | |
parent | 12274e96b42884f043dfaa87eb1e5e10281bfac3 (diff) |
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>
Diffstat (limited to 'virt/kvm/kvm_main.c')
-rw-r--r-- | virt/kvm/kvm_main.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c index e21194566b71..764554350ed8 100644 --- a/virt/kvm/kvm_main.c +++ b/virt/kvm/kvm_main.c | |||
@@ -2604,7 +2604,6 @@ int kvm_init(void *opaque, unsigned int vcpu_size, | |||
2604 | r = -ENOMEM; | 2604 | r = -ENOMEM; |
2605 | goto out_free_0; | 2605 | goto out_free_0; |
2606 | } | 2606 | } |
2607 | cpumask_clear(cpus_hardware_enabled); | ||
2608 | 2607 | ||
2609 | r = kvm_arch_hardware_setup(); | 2608 | r = kvm_arch_hardware_setup(); |
2610 | if (r < 0) | 2609 | if (r < 0) |