[PATCH] kvm: remove the duplicated cpumask_clear
From: Yinghai Lu
Date: Thu Jun 11 2009 - 18:10:42 EST
zalloc_cpumask_var already had that clear.
Signed-off-by: Yinghai Lu <yinghai@xxxxxxxxxx>
---
virt/kvm/kvm_main.c | 1 -
1 file changed, 1 deletion(-)
Index: linux-2.6/virt/kvm/kvm_main.c
===================================================================
--- linux-2.6.orig/virt/kvm/kvm_main.c
+++ linux-2.6/virt/kvm/kvm_main.c
@@ -2305,7 +2305,6 @@ int kvm_init(void *opaque, unsigned int
r = -ENOMEM;
goto out_free_0;
}
- cpumask_clear(cpus_hardware_enabled);
r = kvm_arch_hardware_setup();
if (r < 0)
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/