diff options
| author | Sean Christopherson <[email protected]> | 2020-03-02 15:56:07 -0800 |
|---|---|---|
| committer | Paolo Bonzini <[email protected]> | 2020-03-16 17:57:56 +0100 |
| commit | d5a661d19df15cc618bb69e43cab3edb06d2021f (patch) | |
| tree | fafee10039934dc4930b92161faf3120b90ed9f7 /tools/perf/scripts/python | |
| parent | 8b86079cc339a7f1f94e92d8469d7fb69f8879c2 (diff) | |
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 <[email protected]>
Signed-off-by: Sean Christopherson <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions