diff options
author | Sean Christopherson <seanjc@google.com> | 2022-07-15 23:00:14 +0000 |
---|---|---|
committer | Paolo Bonzini <pbonzini@redhat.com> | 2022-07-28 13:22:20 -0400 |
commit | 82ffad2ddf5d7b5b9c14c705fed4a7d5f2ec4c38 (patch) | |
tree | 884b87f4a615169fa1ea43148f2e74aff27f04a5 /tools/perf/scripts/python/exported-sql-viewer.py | |
parent | 94bda2f4cd868046094351b06b87d7d1053e990d (diff) |
KVM: x86: Drop unnecessary goto+label in kvm_arch_init()
Return directly if kvm_arch_init() detects an error before doing any real
work, jumping through a label obfuscates what's happening and carries the
unnecessary risk of leaving 'r' uninitialized.
No functional change intended.
Signed-off-by: Sean Christopherson <seanjc@google.com>
Reviewed-by: Maxim Levitsky <mlevitsk@redhat.com>
Message-Id: <20220715230016.3762909-3-seanjc@google.com>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions