mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-04 12:52:15 +00:00
There's no need for checking result of M_WAITOK allocation.
This commit is contained in:
parent
c16ce31b31
commit
07a93e6b3c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=196580
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user