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; _______________________________________________ svn-src-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-src-all To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"