diff options
author | pjd <pjd@FreeBSD.org> | 2009-08-27 08:40:51 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2009-08-27 08:40:51 +0000 |
commit | 728f7b16d733e54c30704381e1beb490f0410c7d (patch) | |
tree | 7bb403051a8fb520297dbdc9255acf5e7e0af8df /sys/geom | |
parent | d461caca3fbbe582f7b4794cd322d43a301221cf (diff) | |
download | FreeBSD-src-728f7b16d733e54c30704381e1beb490f0410c7d.zip FreeBSD-src-728f7b16d733e54c30704381e1beb490f0410c7d.tar.gz |
There's no need for checking result of M_WAITOK allocation.
Diffstat (limited to 'sys/geom')
-rw-r--r-- | sys/geom/multipath/g_multipath.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/sys/geom/multipath/g_multipath.c b/sys/geom/multipath/g_multipath.c index ed7e71e..d24edb6 100644 --- a/sys/geom/multipath/g_multipath.c +++ b/sys/geom/multipath/g_multipath.c @@ -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; |