Skip to content

Commit 05a0249

Browse files
osamakaderMarc Zyngier
authored andcommitted
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>
1 parent a133052 commit 05a0249

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

arch/arm64/kvm/at.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,6 @@ static enum trans_regime compute_translation_regime(struct kvm_vcpu *vcpu, u32 o
9191
case OP_AT_S1E2W:
9292
case OP_AT_S1E2A:
9393
return vcpu_el2_e2h_is_set(vcpu) ? TR_EL20 : TR_EL2;
94-
break;
9594
default:
9695
return (vcpu_el2_e2h_is_set(vcpu) &&
9796
vcpu_el2_tge_is_set(vcpu)) ? TR_EL20 : TR_EL10;

0 commit comments

Comments
 (0)