khelp: uma_zcreate() does not fail

No functional change intended.

MFC after:	1 week
This commit is contained in:
Mark Johnston 2024-04-23 12:22:27 -04:00
parent 78c51db3c4
commit 1e607a0753

View file

@ -330,10 +330,6 @@ khelp_modevent(module_t mod, int event_type, void *data)
kmd->helper->h_zone = uma_zcreate(kmd->name,
kmd->uma_zsize, kmd->umactor, kmd->umadtor, NULL,
NULL, 0, 0);
if (kmd->helper->h_zone == NULL) {
error = ENOMEM;
break;
}
}
strlcpy(kmd->helper->h_name, kmd->name, HELPER_NAME_MAXLEN);
kmd->helper->h_hooks = kmd->hooks;