Skip to contentSkip to conversation

RISC-V: KVM: remove unneeded semicolon

PATCH In review Yang Li 2 participants 2 messages Jan 11, 2022 – Jan 31, 2022

Subsystems (3)
lore
Share & tools
lore

Yang Li

author
#0 lore raw

PATCH 1/1 RISC-V: KVM: remove unneeded semicolon

Eliminate the following coccicheck warning:
./arch/riscv/kvm/vcpu_sbi_v01.c:117:2-3: Unneeded semicolon

---
 arch/riscv/kvm/vcpu_sbi_v01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kvm/vcpu_sbi_v01.c +1 -1
index 4c7e13ec9ccc..9acc8fa21d1f 100644
@@ -114,7 +114,7 @@ static int kvm_sbi_ext_v01_handler(struct kvm_vcpu *vcpu, struct kvm_run *run,
 	default:
 		ret = -EINVAL;
 		break;
-	};
+	}
 
 	return ret;
 }
Signature · 1 line
2.20.1.7.g153144c
maintainer
#1 lore raw
Quoted 6 lines · Yang Li

Eliminate the following coccicheck warning:
./arch/riscv/kvm/vcpu_sbi_v01.c:117:2-3: Unneeded semicolon

Thanks, I have queued this patch for 5.18

Regards,
Anup

Quoted 20 lines
---
 arch/riscv/kvm/vcpu_sbi_v01.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
arch/riscv/kvm/vcpu_sbi_v01.c +1 -2
index 4c7e13ec9ccc..9acc8fa21d1f 100644
@@ -114,7 +114,7 @@ static int kvm_sbi_ext_v01_handler(struct kvm_vcpu *vcpu, struct kvm_run *run,
        default:
                ret = -EINVAL;
                break;
-       };
+       }
 
        return ret;
 }
--

2.20.1.7.g153144c