git: c4b0e25fa1f3 - stable/15 - kern/subr_vmem.c: remove unused VMEM_TRYLOCK() macro
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 09 Dec 2025 00:28:57 UTC
The branch stable/15 has been updated by kib:
URL: https://cgit.FreeBSD.org/src/commit/?id=c4b0e25fa1f3ad9766e117658e7af6250e181616
commit c4b0e25fa1f3ad9766e117658e7af6250e181616
Author: Konstantin Belousov <kib@FreeBSD.org>
AuthorDate: 2025-10-16 23:53:41 +0000
Commit: Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-12-09 00:24:55 +0000
kern/subr_vmem.c: remove unused VMEM_TRYLOCK() macro
(cherry picked from commit 305e33d4c6edd735590909161ff0847e73e68b66)
---
sys/kern/subr_vmem.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/sys/kern/subr_vmem.c b/sys/kern/subr_vmem.c
index 06c104b9fce2..507c8ad897e9 100644
--- a/sys/kern/subr_vmem.c
+++ b/sys/kern/subr_vmem.c
@@ -203,7 +203,6 @@ static uma_zone_t vmem_zone;
#define VMEM_CONDVAR_BROADCAST(vm) cv_broadcast(&vm->vm_cv)
#define VMEM_LOCK(vm) mtx_lock(&vm->vm_lock)
-#define VMEM_TRYLOCK(vm) mtx_trylock(&vm->vm_lock)
#define VMEM_UNLOCK(vm) mtx_unlock(&vm->vm_lock)
#define VMEM_LOCK_INIT(vm, name) mtx_init(&vm->vm_lock, (name), NULL, MTX_DEF)
#define VMEM_LOCK_DESTROY(vm) mtx_destroy(&vm->vm_lock)