KVM: x86: Drop the explicit @index from do_cpuid_7_mask()
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 2 Mar 2020 23:56:14 +0000 (15:56 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:58:02 +0000 (17:58 +0100)
commitaceac6e5700f4bdfb35fd558ae60176be24aa482
tree7270468ef1da5663d7a708993dd83f3be1d8056b
parent87849b1ccbd404eff78b54d8e4dd831e4a905cbb
KVM: x86: Drop the explicit @index from do_cpuid_7_mask()

Drop the index param from do_cpuid_7_mask() and instead switch on the
entry's index, which is guaranteed to be set by do_host_cpuid().

No functional change intended.

Reviewed-by: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Sean Christopherson <sean.j.christopherson@intel.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
arch/x86/kvm/cpuid.c