mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-01 17:00:36 +00:00
khelp: uma_zcreate() does not fail
No functional change intended. MFC after: 1 week
This commit is contained in:
parent
78c51db3c4
commit
1e607a0753
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user