diff options
-rw-r--r-- | mdadm.h | 2 | ||||
-rw-r--r-- | super-ddf.c | 2 | ||||
-rw-r--r-- | super-intel.c | 4 |
3 files changed, 0 insertions, 8 deletions
@@ -712,8 +712,6 @@ struct supertype { int container_dev; /* devnum of container */ void *sb; void *info; - int loaded_container; /* Set if load_super found a container, - * not just one device */ struct metadata_update *updates; struct metadata_update **update_tail; diff --git a/super-ddf.c b/super-ddf.c index a97e05de..98c9d58b 100644 --- a/super-ddf.c +++ b/super-ddf.c @@ -850,7 +850,6 @@ static int load_super_ddf(struct supertype *st, int fd, st->minor_version = 0; st->max_devs = 512; } - st->loaded_container = 0; return 0; } @@ -2877,7 +2876,6 @@ static int load_super_ddf_all(struct supertype *st, int fd, st->max_devs = 512; } st->container_dev = fd2devnum(fd); - st->loaded_container = 1; return 0; } diff --git a/super-intel.c b/super-intel.c index 4176b745..58d0fa74 100644 --- a/super-intel.c +++ b/super-intel.c @@ -2871,8 +2871,6 @@ static int load_super_imsm_all(struct supertype *st, int fd, void **sbp, st->minor_version = 0; st->max_devs = IMSM_MAX_DEVICES; } - st->loaded_container = 1; - return 0; } @@ -2923,8 +2921,6 @@ static int load_super_imsm(struct supertype *st, int fd, char *devname) st->minor_version = 0; st->max_devs = IMSM_MAX_DEVICES; } - st->loaded_container = 0; - return 0; } |