summaryrefslogtreecommitdiffstats
path: root/virt/kvm
diff options
context:
space:
mode:
authorYinghai Lu <yinghai@kernel.org>2009-06-11 15:09:00 -0700
committerLinus Torvalds <torvalds@linux-foundation.org>2009-06-11 20:04:37 -0700
commitaee74f3bb3f4fb5dbeae8c1947c6d8ebdc19ee01 (patch)
treefd86fd5a4f8adf8d185c1bfb8972253570958cdf /virt/kvm
parent12274e96b42884f043dfaa87eb1e5e10281bfac3 (diff)
downloadop-kernel-dev-aee74f3bb3f4fb5dbeae8c1947c6d8ebdc19ee01.zip
op-kernel-dev-aee74f3bb3f4fb5dbeae8c1947c6d8ebdc19ee01.tar.gz
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')
-rw-r--r--virt/kvm/kvm_main.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/virt/kvm/kvm_main.c b/virt/kvm/kvm_main.c
index e211945..7645543 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,
r = -ENOMEM;
goto out_free_0;
}
- cpumask_clear(cpus_hardware_enabled);
r = kvm_arch_hardware_setup();
if (r < 0)
OpenPOWER on IntegriCloud