KVM: arm64: Remove unneeded semicolons
authorChangcheng Deng <deng.changcheng@zte.com.cn>
Wed, 23 Feb 2022 09:27:50 +0000 (09:27 +0000)
committerMarc Zyngier <maz@kernel.org>
Fri, 25 Feb 2022 13:46:21 +0000 (13:46 +0000)
Fix the following coccicheck review:
./arch/arm64/kvm/psci.c: 379: 3-4: Unneeded semicolon

Reported-by: Zeal Robot <zealci@zte.com.cn>
Signed-off-by: Changcheng Deng <deng.changcheng@zte.com.cn>
[maz: squashed another instance of the same issue in the patch]
Signed-off-by: Marc Zyngier <maz@kernel.org>
Acked-by: Will Deacon <will@kernel.org>
Link: https://lore.kernel.org/r/20220223092750.1934130-1-deng.changcheng@zte.com.cn
Link: https://lore.kernel.org/r/20220225122922.GA19390@willie-the-truck
arch/arm64/kvm/psci.c

index ecb4b74..0d48d1e 100644 (file)
@@ -376,7 +376,7 @@ static int kvm_psci_1_x_call(struct kvm_vcpu *vcpu, u32 minor)
                                ret = 0;
                        }
                        break;
-               };
+               }
                fallthrough;
        default:
                return kvm_psci_0_2_call(vcpu);
@@ -438,7 +438,7 @@ int kvm_psci_call(struct kvm_vcpu *vcpu)
                return kvm_psci_0_1_call(vcpu);
        default:
                return -EINVAL;
-       };
+       }
 }
 
 int kvm_arm_get_fw_num_regs(struct kvm_vcpu *vcpu)