Remove a redundant check.

CID:		1042100
MFC after:	2 weeks
This commit is contained in:
Mark Johnston 2018-10-25 15:40:59 +00:00
parent d54dafc600
commit a0a18fd46b

View File

@ -283,7 +283,7 @@ bt_fill(vmem_t *vm, int flags)
VMEM_UNLOCK(vm);
bt = uma_zalloc(vmem_bt_zone, flags);
VMEM_LOCK(vm);
if (bt == NULL && (flags & M_NOWAIT) != 0)
if (bt == NULL)
break;
}
LIST_INSERT_HEAD(&vm->vm_freetags, bt, bt_freelist);