KVM: arm/arm64: Fix trailing semicolon
authorLuis de Bethencourt <luisbg@kernel.org>
Tue, 23 Jan 2018 15:11:14 +0000 (15:11 +0000)
committerChristoffer Dall <christoffer.dall@linaro.org>
Tue, 23 Jan 2018 15:48:32 +0000 (16:48 +0100)
The trailing semicolon is an empty statement that does no operation.
Removing it since it doesn't do anything.

Signed-off-by: Luis de Bethencourt <luisbg@kernel.org>
Signed-off-by: Christoffer Dall <christoffer.dall@linaro.org>
arch/arm/include/asm/kvm_emulate.h

index 3d22eb8..9003bd1 100644 (file)
@@ -131,7 +131,7 @@ static inline bool mode_has_spsr(struct kvm_vcpu *vcpu)
 static inline bool vcpu_mode_priv(struct kvm_vcpu *vcpu)
 {
        unsigned long cpsr_mode = vcpu->arch.ctxt.gp_regs.usr_regs.ARM_cpsr & MODE_MASK;
-       return cpsr_mode > USR_MODE;;
+       return cpsr_mode > USR_MODE;
 }
 
 static inline u32 kvm_vcpu_get_hsr(const struct kvm_vcpu *vcpu)