summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sys/geom/multipath/g_multipath.c4
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;
OpenPOWER on IntegriCloud