KVM: selftests: remove unused struct 'memslot_antagonist_args'
authorDr. David Alan Gilbert <linux@treblig.org>
Sun, 2 Jun 2024 23:55:29 +0000 (00:55 +0100)
committerSean Christopherson <seanjc@google.com>
Mon, 3 Jun 2024 15:57:21 +0000 (08:57 -0700)
'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>
Reviewed-by: Zenghui Yu <yuzenghui@huawei.com>
Link: https://lore.kernel.org/r/20240602235529.228204-1-linux@treblig.org
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/memslot_modification_stress_test.c

index 05fcf902e067104b62f2a92ee32169cd75e05eeb..49f162573126f6ad0507b4a9992fcdc5a41a2796 100644 (file)
@@ -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)
 {