kern/subr_vmem.c: remove unused VMEM_TRYLOCK() macro
Reviewed by: bnovkov, markj Sponsored by: The FreeBSD Foundation MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D27220
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user