KVM: nVMX: Drop a redundant call to vmx_get_intr_info()
authorSean Christopherson <sean.j.christopherson@intel.com>
Tue, 21 Apr 2020 07:53:27 +0000 (00:53 -0700)
committerPaolo Bonzini <pbonzini@redhat.com>
Thu, 23 Apr 2020 22:24:28 +0000 (18:24 -0400)
commit9bd4af240f4db39e754081d135e6ef7a54bb6828
treef865eafd27bff3544bfbc40865f19623145783bf
parent33b22172452f05c351fd2fa24c28d2e76c7b0692
KVM: nVMX: Drop a redundant call to vmx_get_intr_info()

Drop nested_vmx_l1_wants_exit()'s initialization of intr_info from
vmx_get_intr_info() that was inadvertantly introduced along with the
caching mechanism.  EXIT_REASON_EXCEPTION_NMI, the only consumer of
intr_info, populates the variable before using it.

Fixes: bb53120d67cd ("KVM: VMX: Cache vmcs.EXIT_INTR_INFO using arch avail_reg flags")
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Message-Id: <20200421075328.14458-2-sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c