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)
commite0dfacbfe91ad7947f0c44829c0358ac2e17d3c6
tree122d325477dfd9300debc8a827b27261d4ac5ceb
parent34333cc6c2cb021662fd32e24e618d1b86de95bf
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