Tag: d90e3a35e90af7f8beceebefc90e62eae237c5ed

KVM: x86: drop unneeded null test

Author: Julia Lawall <Julia.Lawall@lip6.fr> If the null test is needed, the call to cancel_delayed_work_sync would have already crashed. Normally, the destroy function should only be called if the init function has succeeded, in which case ioapic is not null. Problem found using Coccinelle. Suggested-by: Michael S. Tsirkin Signed-off-by: Julia Lawall Signed-off-by: Paolo Bonzini — arch/x86/kvm/ioapic.c …

Continue reading