aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/check-perf-trace.py
diff options
context:
space:
mode:
authorSean Christopherson <[email protected]>2020-03-02 15:56:07 -0800
committerPaolo Bonzini <[email protected]>2020-03-16 17:57:56 +0100
commitd5a661d19df15cc618bb69e43cab3edb06d2021f (patch)
treefafee10039934dc4930b92161faf3120b90ed9f7 /tools/perf/scripts/python/check-perf-trace.py
parent8b86079cc339a7f1f94e92d8469d7fb69f8879c2 (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/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions