Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

KVM: arm64: Remove unreachable break after return

Remove an unnecessary 'break' statement that follows a 'return'
in arch/arm64/kvm/at.c. The break is unreachable.

Signed-off-by: Osama Abdelkader <osama.abdelkader@gmail.com>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>

authored by

Osama Abdelkader and committed by
Marc Zyngier
05a02490 a1330526

-1
-1
arch/arm64/kvm/at.c
··· 91 91 case OP_AT_S1E2W: 92 92 case OP_AT_S1E2A: 93 93 return vcpu_el2_e2h_is_set(vcpu) ? TR_EL20 : TR_EL2; 94 - break; 95 94 default: 96 95 return (vcpu_el2_e2h_is_set(vcpu) && 97 96 vcpu_el2_tge_is_set(vcpu)) ? TR_EL20 : TR_EL10;