diff --git a/super-ddf.c b/super-ddf.c index b3890aa..bd3e884 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -772,12 +772,6 @@ static int load_super_ddf(struct supertype *st, int fd, struct ddf_super *super; int rv; -#ifndef MDASSEMBLE - /* if 'fd' is a container, load metadata from all the devices */ - if (load_super_ddf_all(st, fd, &st->sb, devname) == 0) - return 0; -#endif - if (get_dev_size(fd, devname, &dsize) == 0) return 1; diff --git a/super-intel.c b/super-intel.c index f158163..ab6a2d5 100644 --- a/super-intel.c +++ b/super-intel.c @@ -3047,11 +3047,6 @@ static int load_super_imsm(struct supertype *st, int fd, char *devname) struct intel_super *super; int rv; -#ifndef MDASSEMBLE - if (load_super_imsm_all(st, fd, &st->sb, devname) == 0) - return 0; -#endif - if (test_partition(fd)) /* IMSM not allowed on partitions */ return 1;