]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: avoid redundant double assignment of nested_run_pending
authorVitaly Kuznetsov <vkuznets@redhat.com>
Thu, 23 Aug 2018 16:24:24 +0000 (18:24 +0200)
committerRadim Krčmář <rkrcmar@redhat.com>
Thu, 30 Aug 2018 14:20:03 +0000 (16:20 +0200)
commit4205e48b0d13a813167dd27b19ba0a498737048e
tree13b080efdd54565bf3486e4d3ff65338efc83ba3
parentf030a7bb7b1f7de16c1c716a587185e209e25800
KVM: nVMX: avoid redundant double assignment of nested_run_pending

nested_run_pending is set 20 lines above and check_vmentry_prereqs()/
check_vmentry_postreqs() don't seem to be resetting it (the later, however,
checks it).

Signed-off-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Reviewed-by: Paolo Bonzini <pbonzini@redhat.com>
Reviewed-by: Jim Mattson <jmattson@google.com>
Reviewed-by: Eduardo Valentin <eduval@amazon.com>
Reviewed-by: Krish Sadhukhan <krish.sadhukhan@oracle.com>
Signed-off-by: Radim Krčmář <rkrcmar@redhat.com>
arch/x86/kvm/vmx.c