]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
kvm: remove the duplicated cpumask_clear
authorYinghai Lu <yinghai@kernel.org>
Thu, 11 Jun 2009 22:09:00 +0000 (15:09 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Jun 2009 03:04:37 +0000 (20:04 -0700)
zalloc_cpumask_var already cleared it.

Signed-off-by: Yinghai Lu <yinghai@kernel.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
virt/kvm/kvm_main.c

index e21194566b7140b423d9d438e433f737256681bb..764554350ed86f41b26f45eb840ad02138a55081 100644 (file)
@@ -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)