diff options
author | pjd <pjd@FreeBSD.org> | 2006-01-18 21:42:19 +0000 |
---|---|---|
committer | pjd <pjd@FreeBSD.org> | 2006-01-18 21:42:19 +0000 |
commit | 82bba3d6cd30bf2800cd4f24c07a3e926b151b27 (patch) | |
tree | 124e939d0f8374cbbd8225117fb3854f2a774237 /sys/geom/mirror | |
parent | 28e993ac264fdb5cf803de2435003ca0163993ab (diff) | |
download | FreeBSD-src-82bba3d6cd30bf2800cd4f24c07a3e926b151b27.zip FreeBSD-src-82bba3d6cd30bf2800cd4f24c07a3e926b151b27.tar.gz |
Remove dead code.
Found by: Coverity Prevent(tm)
Coverity ID: CID104
MFC after: 3 days
Diffstat (limited to 'sys/geom/mirror')
-rw-r--r-- | sys/geom/mirror/g_mirror.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/geom/mirror/g_mirror.c b/sys/geom/mirror/g_mirror.c index e627c60..a2e6d3d 100644 --- a/sys/geom/mirror/g_mirror.c +++ b/sys/geom/mirror/g_mirror.c @@ -2349,8 +2349,6 @@ g_mirror_read_metadata(struct g_consumer *cp, struct g_mirror_metadata *md) if (buf == NULL) { G_MIRROR_DEBUG(1, "Cannot read metadata from %s (error=%d).", cp->provider->name, error); - if (buf != NULL) - g_free(buf); return (error); } |