KVM: x86: Remove break statements that will never be executed
authorLike Xu <likexu@tencent.com>
Mon, 7 Aug 2023 09:42:43 +0000 (17:42 +0800)
committerSean Christopherson <seanjc@google.com>
Thu, 17 Aug 2023 18:28:00 +0000 (11:28 -0700)
commit765da7fe0e76ed41eea9514433f4ca8cdb5312b1
treecc8eb00ba09ac8f490966f691caa2cd2155da69f
parent223f93d4d88aedc02bdcc92b3734e76f707812f3
KVM: x86: Remove break statements that will never be executed

Fix compiler warnings when compiling KVM with [-Wunreachable-code-break].
No functional change intended.

Cc: Vitaly Kuznetsov <vkuznets@redhat.com>
Signed-off-by: Like Xu <likexu@tencent.com>
Link: https://lore.kernel.org/r/20230807094243.32516-1-likexu@tencent.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
arch/x86/kvm/emulate.c
arch/x86/kvm/hyperv.c
arch/x86/kvm/x86.c