There's no need for checking result of M_WAITOK allocation.

This commit is contained in:
Pawel Jakub Dawidek 2009-08-27 08:40:51 +00:00
parent c16ce31b31
commit 07a93e6b3c

View File

@ -295,10 +295,6 @@ g_multipath_create(struct g_class *mp, struct g_multipath_metadata *md)
}
sc = g_malloc(sizeof(*sc), M_WAITOK | M_ZERO);
if (sc == NULL) {
goto fail;
}
gp->softc = sc;
gp->start = g_multipath_start;
gp->orphan = g_multipath_orphan;