mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
busdma: uma_zcreate() does not fail
No functional change intended. MFC after: 1 week
This commit is contained in:
parent
1e607a0753
commit
8ef2c02182
1 changed files with 0 additions and 4 deletions
|
|
@ -100,10 +100,6 @@ busdma_bufalloc_create(const char *name, bus_size_t minimum_alignment,
|
|||
bz->size = cursize;
|
||||
bz->umazone = uma_zcreate(bz->name, bz->size,
|
||||
NULL, NULL, NULL, NULL, bz->size - 1, zcreate_flags);
|
||||
if (bz->umazone == NULL) {
|
||||
busdma_bufalloc_destroy(ba);
|
||||
return (NULL);
|
||||
}
|
||||
if (alloc_func != NULL)
|
||||
uma_zone_set_allocf(bz->umazone, alloc_func);
|
||||
if (free_func != NULL)
|
||||
|
|
|
|||
Loading…
Reference in a new issue