diff options
| author | Mark Johnston <markj@FreeBSD.org> | 2025-10-10 13:22:16 +0000 |
|---|---|---|
| committer | Mark Johnston <markj@FreeBSD.org> | 2025-10-10 13:22:40 +0000 |
| commit | 642c763a9ad14cbe70596cabc16f73b9ca99de57 (patch) | |
| tree | 95f71e7b41dfa447c7e336714dc5ecfdcd014847 | |
| parent | 059b0b7046639121f3dca48f5de051e019f9d57c (diff) | |
vmm: Remove some unused macros
No functional change intended.
Reviewed by: corvink
MFC after: 2 weeks
Sponsored by: The FreeBSD Foundation
Sponsored by: Klara, Inc.
Differential Revision: https://reviews.freebsd.org/D53013
| -rw-r--r-- | sys/arm64/vmm/vmm.c | 1 | ||||
| -rw-r--r-- | sys/riscv/vmm/vmm.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/sys/arm64/vmm/vmm.c b/sys/arm64/vmm/vmm.c index 02c5ae2c0223..aeda689f3b1a 100644 --- a/sys/arm64/vmm/vmm.c +++ b/sys/arm64/vmm/vmm.c @@ -88,7 +88,6 @@ struct vcpu { struct vfpstate *guestfpu; /* (a,i) guest fpu state */ }; -#define vcpu_lock_initialized(v) mtx_initialized(&((v)->mtx)) #define vcpu_lock_init(v) mtx_init(&((v)->mtx), "vcpu lock", 0, MTX_SPIN) #define vcpu_lock_destroy(v) mtx_destroy(&((v)->mtx)) #define vcpu_lock(v) mtx_lock_spin(&((v)->mtx)) diff --git a/sys/riscv/vmm/vmm.c b/sys/riscv/vmm/vmm.c index c6cca7cbdfc6..790dcc576507 100644 --- a/sys/riscv/vmm/vmm.c +++ b/sys/riscv/vmm/vmm.c @@ -92,7 +92,6 @@ struct vcpu { struct fpreg *guestfpu; /* (a,i) guest fpu state */ }; -#define vcpu_lock_initialized(v) mtx_initialized(&((v)->mtx)) #define vcpu_lock_init(v) mtx_init(&((v)->mtx), "vcpu lock", 0, MTX_SPIN) #define vcpu_lock_destroy(v) mtx_destroy(&((v)->mtx)) #define vcpu_lock(v) mtx_lock_spin(&((v)->mtx)) |
