History

kvm: remove the duplicated cpumask_clear

zalloc_cpumask_var already cleared it.

Yinghai Lu committed 17 years ago

Commit aee74f31 parent 12274e91 file · +0 −1Browse files

Showing the changes to virt (1 of 1 file). Show all

Unified · Split

virt/kvm/kvm_main.c+0−1
@@ -2604,7 +2604,6 @@ int kvm_init(void *opaque, unsigned int vcpu_size, · 2603 unmodified lines
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)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t