[PATCH] smccc: kvm_guest: Remove unneeded semicolon

Chen Ni posted 1 patch 8 months, 4 weeks ago
drivers/firmware/smccc/kvm_guest.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] smccc: kvm_guest: Remove unneeded semicolon
Posted by Chen Ni 8 months, 4 weeks ago
Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Signed-off-by: Chen Ni <nichen@iscas.ac.cn>
---
 drivers/firmware/smccc/kvm_guest.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/firmware/smccc/kvm_guest.c b/drivers/firmware/smccc/kvm_guest.c
index 5767aed25cdc..ffe9f3c013df 100644
--- a/drivers/firmware/smccc/kvm_guest.c
+++ b/drivers/firmware/smccc/kvm_guest.c
@@ -103,7 +103,7 @@ void  __init kvm_arm_target_impl_cpu_init(void)
 		target[i].midr = res.a1;
 		target[i].revidr = res.a2;
 		target[i].aidr = res.a3;
-	};
+	}
 
 	if (!cpu_errata_set_target_impl(max_cpus, target)) {
 		pr_warn("Failed to set target implementation CPUs\n");
-- 
2.25.1
Re: [PATCH] smccc: kvm_guest: Remove unneeded semicolon
Posted by Oliver Upton 8 months, 2 weeks ago
On Wed, 26 Mar 2025 12:06:59 +0800, Chen Ni wrote:
> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
> semantic patch at scripts/coccinelle/misc/semicolon.cocci.
> 
> 

Applied to fixes, thanks!

[1/1] smccc: kvm_guest: Remove unneeded semicolon
      https://git.kernel.org/kvmarm/kvmarm/c/1f5bdd3b0c70

--
Best,
Oliver