The branch main has been updated by markj:

URL: 
https://cgit.FreeBSD.org/src/commit/?id=642c763a9ad14cbe70596cabc16f73b9ca99de57

commit 642c763a9ad14cbe70596cabc16f73b9ca99de57
Author:     Mark Johnston <[email protected]>
AuthorDate: 2025-10-10 13:22:16 +0000
Commit:     Mark Johnston <[email protected]>
CommitDate: 2025-10-10 13:22:40 +0000

    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
---
 sys/arm64/vmm/vmm.c | 1 -
 sys/riscv/vmm/vmm.c | 1 -
 2 files changed, 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))

Reply via email to