diff options
| author | 2022-07-15 23:00:14 +0000 | |
|---|---|---|
| committer | 2022-07-28 13:22:20 -0400 | |
| commit | 82ffad2ddf5d7b5b9c14c705fed4a7d5f2ec4c38 (patch) | |
| tree | 884b87f4a615169fa1ea43148f2e74aff27f04a5 /include/soc/git:/ssh:/git@git.zx2c4.com | |
| parent | KVM: x86: Reject loading KVM if host.PAT[0] != WB (diff) | |
| download | linux-dev-82ffad2ddf5d7b5b9c14c705fed4a7d5f2ec4c38.tar.xz linux-dev-82ffad2ddf5d7b5b9c14c705fed4a7d5f2ec4c38.zip | |
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 'include/soc/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
