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/concat | |
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/concat')
-rw-r--r-- | sys/geom/concat/g_concat.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/geom/concat/g_concat.c b/sys/geom/concat/g_concat.c index 10ee571..54e0fe0 100644 --- a/sys/geom/concat/g_concat.c +++ b/sys/geom/concat/g_concat.c @@ -547,8 +547,6 @@ g_concat_create(struct g_class *mp, const struct g_concat_metadata *md, } } gp = g_new_geomf(mp, "%s", md->md_name); - gp->softc = NULL; /* for a moment */ - sc = malloc(sizeof(*sc), M_CONCAT, M_WAITOK | M_ZERO); gp->start = g_concat_start; gp->spoiled = g_concat_orphan; |