]> git.ipfire.org Git - thirdparty/linux.git/commitdiff
KVM: selftests: Remove unused macro in the hardware disable test
authorBa Jing <bajing@cmss.chinamobile.com>
Tue, 3 Sep 2024 04:31:35 +0000 (12:31 +0800)
committerSean Christopherson <seanjc@google.com>
Wed, 30 Oct 2024 20:51:46 +0000 (13:51 -0700)
The macro GUEST_CODE_PIO_PORT is never referenced in the code,
just remove it.

Signed-off-by: Ba Jing <bajing@cmss.chinamobile.com>
Link: https://lore.kernel.org/r/20240903043135.11087-1-bajing@cmss.chinamobile.com
Signed-off-by: Sean Christopherson <seanjc@google.com>
tools/testing/selftests/kvm/hardware_disable_test.c

index bce73bcb973c8e02fe18c2ed27901fa7d1b02f2f..94bd6ed24cf3c58a8e633444ce5f16536e450039 100644 (file)
@@ -20,7 +20,6 @@
 #define SLEEPING_THREAD_NUM (1 << 4)
 #define FORK_NUM (1ULL << 9)
 #define DELAY_US_MAX 2000
-#define GUEST_CODE_PIO_PORT 4
 
 sem_t *sem;