KVM: x86: Refactor CPUID 0x4 and 0x8000001d handling
authorSean Christopherson <sean.j.christopherson@intel.com>
Mon, 2 Mar 2020 23:56:18 +0000 (15:56 -0800)
committerPaolo Bonzini <pbonzini@redhat.com>
Mon, 16 Mar 2020 16:58:05 +0000 (17:58 +0100)
commitc862903963bbbf8dfcbb46204584f2330bb8df42
tree3ac146ff7394c316d3ed728f8a30d48e55fe97d7
parent74fa0bc7f083fbcce1ee0b9c3c2716fcb068fce4
KVM: x86: Refactor CPUID 0x4 and 0x8000001d handling

Refactoring the sub-leaf handling for CPUID 0x4/0x8000001d to eliminate
a one-off variable and its associated brackets.

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