diff options
author | ae <ae@FreeBSD.org> | 2011-05-04 17:56:53 +0000 |
---|---|---|
committer | ae <ae@FreeBSD.org> | 2011-05-04 17:56:53 +0000 |
commit | fc73075ad0162eae621875813c15622da02fbe2e (patch) | |
tree | e2004ebc2370bdd76ca85b511224d1d632a446d2 /sys/geom/stripe | |
parent | f7ea6f62c3bd831f54d0c23223ca22e242f27867 (diff) | |
download | FreeBSD-src-fc73075ad0162eae621875813c15622da02fbe2e.zip FreeBSD-src-fc73075ad0162eae621875813c15622da02fbe2e.tar.gz |
Remove "for a moment" assignment. struct g_geom zeroed when allocated.
MFC after: 1 week
Diffstat (limited to 'sys/geom/stripe')
-rw-r--r-- | sys/geom/stripe/g_stripe.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/geom/stripe/g_stripe.c b/sys/geom/stripe/g_stripe.c index b8faffd..08841b5 100644 --- a/sys/geom/stripe/g_stripe.c +++ b/sys/geom/stripe/g_stripe.c @@ -819,8 +819,6 @@ g_stripe_create(struct g_class *mp, const struct g_stripe_metadata *md, } } gp = g_new_geomf(mp, "%s", md->md_name); - gp->softc = NULL; /* for a moment */ - sc = malloc(sizeof(*sc), M_STRIPE, M_WAITOK | M_ZERO); gp->start = g_stripe_start; gp->spoiled = g_stripe_orphan; |