aboutsummaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Johnston <markj@FreeBSD.org>2024-04-23 16:23:13 +0000
committerMark Johnston <markj@FreeBSD.org>2024-04-24 12:46:41 +0000
commit8ef2c021822f59a334e3926e8505c8a8e8a3475f (patch)
tree210e210ebf56aeb5407198cf581bd7adda8539ad /sys
parent1e607a0753ff93847926a46003fe74087426b580 (diff)
Diffstat (limited to 'sys')
-rw-r--r--sys/kern/subr_busdma_bufalloc.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/kern/subr_busdma_bufalloc.c b/sys/kern/subr_busdma_bufalloc.c
index 2cc47b006753..fa7191341db6 100644
--- a/sys/kern/subr_busdma_bufalloc.c
+++ b/sys/kern/subr_busdma_bufalloc.c
@@ -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)