diff --git a/block/partitions/ibm.c b/block/partitions/ibm.c index 403756dbd50d9aeb6b2f51266d2b875844ef18d2..49eb0e354fc4b793eac5258eab653cf3c9145925 100644 --- a/block/partitions/ibm.c +++ b/block/partitions/ibm.c @@ -124,8 +124,6 @@ static int find_label(struct parsed_partitions *state, break; } } - if (!found) - memset(label, 0, sizeof(*label)); return found; }