svn commit: r196580 - head/sys/geom/multipath
Pawel Jakub Dawidek
pjd at FreeBSD.org
Thu Aug 27 08:40:51 UTC 2009
Author: pjd
Date: Thu Aug 27 08:40:51 2009
New Revision: 196580
URL: http://svn.freebsd.org/changeset/base/196580
Log:
There's no need for checking result of M_WAITOK allocation.
Modified:
head/sys/geom/multipath/g_multipath.c
Modified: head/sys/geom/multipath/g_multipath.c
==============================================================================
--- head/sys/geom/multipath/g_multipath.c Thu Aug 27 08:28:34 2009 (r196579)
+++ head/sys/geom/multipath/g_multipath.c Thu Aug 27 08:40:51 2009 (r196580)
@@ -295,10 +295,6 @@ g_multipath_create(struct g_class *mp, s
}
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;
More information about the svn-src-head
mailing list