diff mbox series

KVM: selftests: remove unused struct 'memslot_antagonist_args'

Message ID 20240602235529.228204-1-linux@treblig.org (mailing list archive)
State New, archived
Headers show
Series KVM: selftests: remove unused struct 'memslot_antagonist_args' | expand

Commit Message

Dr. David Alan Gilbert June 2, 2024, 11:55 p.m. UTC
From: "Dr. David Alan Gilbert" <linux@treblig.org>

'memslot_antagonist_args' is unused since the original
commit f73a3446252e ("KVM: selftests: Add memslot modification stress
test").

Remove it.

Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>
---
 .../selftests/kvm/memslot_modification_stress_test.c        | 6 ------
 1 file changed, 6 deletions(-)

Comments

Zenghui Yu June 3, 2024, 3:13 a.m. UTC | #1
On 2024/6/3 7:55, linux@treblig.org wrote:
> From: "Dr. David Alan Gilbert" <linux@treblig.org>
> 
> 'memslot_antagonist_args' is unused since the original
> commit f73a3446252e ("KVM: selftests: Add memslot modification stress
> test").
> 
> Remove it.
> 
> Signed-off-by: Dr. David Alan Gilbert <linux@treblig.org>

Looks good,

Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Sean Christopherson June 4, 2024, 11:29 p.m. UTC | #2
On Mon, 03 Jun 2024 00:55:29 +0100, linux@treblig.org wrote:
> 'memslot_antagonist_args' is unused since the original
> commit f73a3446252e ("KVM: selftests: Add memslot modification stress
> test").
> 
> Remove it.

Applied to kvm-x86 selftests, thanks!

[1/1] KVM: selftests: remove unused struct 'memslot_antagonist_args'
      https://github.com/kvm-x86/linux/commit/f626279dea33

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

Patch

diff --git a/tools/testing/selftests/kvm/memslot_modification_stress_test.c b/tools/testing/selftests/kvm/memslot_modification_stress_test.c
index 05fcf902e067..49f162573126 100644
--- a/tools/testing/selftests/kvm/memslot_modification_stress_test.c
+++ b/tools/testing/selftests/kvm/memslot_modification_stress_test.c
@@ -53,12 +53,6 @@  static void vcpu_worker(struct memstress_vcpu_args *vcpu_args)
 	}
 }
 
-struct memslot_antagonist_args {
-	struct kvm_vm *vm;
-	useconds_t delay;
-	uint64_t nr_modifications;
-};
-
 static void add_remove_memslot(struct kvm_vm *vm, useconds_t delay,
 			       uint64_t nr_modifications)
 {