mirror of
https://github.com/opnsense/src.git
synced 2026-06-06 15:22:34 -04:00
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 (cherry picked from commit 642c763a9ad14cbe70596cabc16f73b9ca99de57)
This commit is contained in:
parent
044b8a2049
commit
cf337d24c9
2 changed files with 0 additions and 2 deletions
|
|
@ -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))
|
||||
|
|
|
|||
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Reference in a new issue