x86: kvm: remove useless calls to kvm_para_available
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 25 Jul 2019 10:59:40 +0000 (12:59 +0200)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 5 Aug 2019 10:55:50 +0000 (12:55 +0200)
commit57b76bdb20ecb05c87f4e12b7ced66bc03a976c3
tree93a9e8ab543de097e799f69b513abae2fc30bc68
parent3e7093d045196b1016517631645e874fe903db7e
x86: kvm: remove useless calls to kvm_para_available

Most code in arch/x86/kernel/kvm.c is called through x86_hyper_kvm, and thus only
runs if KVM has been detected.  There is no need to check again for the CPUID
base.

Cc: Sergio Lopez <slp@redhat.com>
Cc: Jan Kiszka <jan.kiszka@siemens.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kernel/kvm.c