mirror of
https://github.com/freebsd/freebsd-src
synced 2024-07-22 10:48:02 +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 a new issue