diff options
author | Yinghai Lu <yinghai@kernel.org> | 2009-06-12 00:09:00 +0200 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-12 05:04:37 +0200 |
commit | aee74f3bb3f4fb5dbeae8c1947c6d8ebdc19ee01 (patch) | |
tree | fd86fd5a4f8adf8d185c1bfb8972253570958cdf /virt | |
parent | x86: use zalloc_cpumask_var in arch_early_irq_init (diff) | |
download | linux-aee74f3bb3f4fb5dbeae8c1947c6d8ebdc19ee01.tar.xz linux-aee74f3bb3f4fb5dbeae8c1947c6d8ebdc19ee01.zip |
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')
-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, r = -ENOMEM; goto out_free_0; } - cpumask_clear(cpus_hardware_enabled); r = kvm_arch_hardware_setup(); if (r < 0) |