Remove dead code.
Found by: Coverity Prevent(tm) Coverity ID: CID105 MFC after: 3 days
This commit is contained in:
parent
a49c0bd40a
commit
e9b936c73c
@ -2574,8 +2574,6 @@ g_raid3_read_metadata(struct g_consumer *cp, struct g_raid3_metadata *md)
|
||||
if (buf == NULL) {
|
||||
G_RAID3_DEBUG(1, "Cannot read metadata from %s (error=%d).",
|
||||
cp->provider->name, error);
|
||||
if (buf != NULL)
|
||||
g_free(buf);
|
||||
return (error);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user