diff --git a/arch/x86/kvm/ioapic.c b/arch/x86/kvm/ioapic.c index 6e1d8cbe2fd92854cf8118244315ce2cdaf0d6a4..3072cdf15bfb7c6f68990c70c3e3a3e202fbedcf 100644 --- a/arch/x86/kvm/ioapic.c +++ b/arch/x86/kvm/ioapic.c @@ -622,10 +622,8 @@ int kvm_ioapic_init(struct kvm *kvm) if (ret < 0) { kvm->arch.vioapic = NULL; kfree(ioapic); - return ret; } - kvm_vcpu_request_scan_ioapic(kvm); return ret; }