]> git.baikalelectronics.ru Git - kernel.git/commit
KVM: nVMX: remove useless is_protmode check
authorPaolo Bonzini <pbonzini@redhat.com>
Wed, 30 Jan 2019 16:25:38 +0000 (17:25 +0100)
committerPaolo Bonzini <pbonzini@redhat.com>
Wed, 20 Feb 2019 21:48:24 +0000 (22:48 +0100)
commitb09b8946b44f42fb973facdf4117da3eb578e81f
tree122d325477dfd9300debc8a827b27261d4ac5ceb
parentf219fd6ef4686a9347ff69fe750c50cec9189f5c
KVM: nVMX: remove useless is_protmode check

VMX is only accessible in protected mode, remove a confusing check
that causes the conditional to lack a final "else" branch.

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/vmx/nested.c