[PATCH] KVM: selftests: Remove unneeded semicolon

Chen Ni posted 1 patch 1 year, 2 months ago
tools/testing/selftests/kvm/access_tracking_perf_test.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
[PATCH] KVM: selftests: Remove unneeded semicolon
Posted by Chen Ni 1 year, 2 months 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>
---
 tools/testing/selftests/kvm/access_tracking_perf_test.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/testing/selftests/kvm/access_tracking_perf_test.c b/tools/testing/selftests/kvm/access_tracking_perf_test.c
index 3c7defd34f56..447e619cf856 100644
--- a/tools/testing/selftests/kvm/access_tracking_perf_test.c
+++ b/tools/testing/selftests/kvm/access_tracking_perf_test.c
@@ -239,7 +239,7 @@ static void vcpu_thread_main(struct memstress_vcpu_args *vcpu_args)
 		case ITERATION_MARK_IDLE:
 			mark_vcpu_memory_idle(vm, vcpu_args);
 			break;
-		};
+		}
 
 		vcpu_last_completed_iteration[vcpu_idx] = current_iteration;
 	}
-- 
2.25.1
Re: [PATCH] KVM: selftests: Remove unneeded semicolon
Posted by Sean Christopherson 1 year ago
On Tue, 26 Nov 2024 15:37:44 +0800, Chen Ni wrote:
> Remove unnecessary semicolons reported by Coccinelle/coccicheck and the
> semantic patch at scripts/coccinelle/misc/semicolon.cocci.

Applied to kvm-x86 selftests, thanks!

[1/1] KVM: selftests: Remove unneeded semicolon
      https://github.com/kvm-x86/linux/commit/3cd19f150ac6

--
https://github.com/kvm-x86/linux/tree/next