summaryrefslogtreecommitdiff
path: root/arch/x86/kvm/x86.c
diff options
context:
space:
mode:
authorSean Christopherson <sean.j.christopherson@intel.com>2020-03-02 15:56:20 -0800
committerPaolo Bonzini <pbonzini@redhat.com>2020-03-16 17:58:06 +0100
commit695538aa21c057578a0c70e1aa22fd97fd407930 (patch)
tree4f385575927bc8dbceb0d5db69a23344ed45697d /arch/x86/kvm/x86.c
parente53c95e8d41ef9927d1d5ff031db1fd6989ec16b (diff)
KVM: x86: Drop redundant array size check
Drop a "nent >= maxnent" check in kvm_get_cpuid() that's fully redundant now that kvm_get_cpuid() isn't indexing the array to pass an entry to do_cpuid_func(). 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>
Diffstat (limited to 'arch/x86/kvm/x86.c')
0 files changed, 0 insertions, 0 deletions