]> 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)
commiteb654d3a8bfd704bc290d06dde2596a8f2431587
tree122d325477dfd9300debc8a827b27261d4ac5ceb
parent9fe9dd131154a74cbcf4c9de739b6ba3a462d5c7
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