]> git.ipfire.org Git - thirdparty/mdadm.git/blobdiff - super-gpt.c
DDF: remove some pointless code in validate_geometry
[thirdparty/mdadm.git] / super-gpt.c
index 8f7d4d93e0585eb2fec48d7d5d879c2f06161875..6a2f749e2e6d4dc523d0f042ce5deb0985674546 100644 (file)
@@ -91,7 +91,7 @@ static int load_gpt(struct supertype *st, int fd, char *devname)
                free(super);
                return 1;
        }
+
        if (super->magic != MBR_SIGNATURE_MAGIC ||
            super->parts[0].part_type != MBR_GPT_PARTITION_TYPE) {
        not_found: