diff options
| author | Sean Christopherson <sean.j.christopherson@intel.com> | 2020-03-02 15:56:07 -0800 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2020-03-16 17:57:56 +0100 |
| commit | d5a661d19df15cc618bb69e43cab3edb06d2021f (patch) | |
| tree | fafee10039934dc4930b92161faf3120b90ed9f7 /tools/perf/scripts | |
| parent | KVM: x86: Simplify handling of Centaur CPUID leafs (diff) | |
| download | linux-d5a661d19df15cc618bb69e43cab3edb06d2021f.tar.gz linux-d5a661d19df15cc618bb69e43cab3edb06d2021f.zip | |
KVM: x86: Clean up error handling in kvm_dev_ioctl_get_cpuid()
Clean up the error handling in kvm_dev_ioctl_get_cpuid(), which has
gotten a bit crusty as the function has evolved over the years.
Opportunistically hoist the static @funcs declaration to the top of the
function to make it more obvious that it's a "static const".
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>
Diffstat (limited to 'tools/perf/scripts')
0 files changed, 0 insertions, 0 deletions
