Remove a redundant check.
CID: 1042100 MFC after: 2 weeks
This commit is contained in:
parent
d54dafc600
commit
a0a18fd46b
@ -283,7 +283,7 @@ bt_fill(vmem_t *vm, int flags)
|
|||||||
VMEM_UNLOCK(vm);
|
VMEM_UNLOCK(vm);
|
||||||
bt = uma_zalloc(vmem_bt_zone, flags);
|
bt = uma_zalloc(vmem_bt_zone, flags);
|
||||||
VMEM_LOCK(vm);
|
VMEM_LOCK(vm);
|
||||||
if (bt == NULL && (flags & M_NOWAIT) != 0)
|
if (bt == NULL)
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
LIST_INSERT_HEAD(&vm->vm_freetags, bt, bt_freelist);
|
LIST_INSERT_HEAD(&vm->vm_freetags, bt, bt_freelist);
|
||||||
|
Loading…
Reference in New Issue
Block a user