summaryrefslogtreecommitdiff
path: root/super0.c
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2010-11-22 20:24:50 +1100
committerNeilBrown <neilb@suse.de>2010-11-22 20:24:50 +1100
commite32bd33f443ad49cf5f5e337bc24ac09959aca0a (patch)
tree70a8c2ebc656c3bffcaca017422f120af73d5a70 /super0.c
parenta951a4f78f079b86328419d024a214ce0fb2aa04 (diff)
Remove subarray detection from load_super.
Nothing relies on this any more, so remove it. Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'super0.c')
-rw-r--r--super0.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/super0.c b/super0.c
index 3e17b803..74b05aed 100644
--- a/super0.c
+++ b/super0.c
@@ -820,9 +820,6 @@ static int load_super0(struct supertype *st, int fd, char *devname)
free_super0(st);
- if (st->subarray[0])
- return 1;
-
if (!get_dev_size(fd, devname, &dsize))
return 1;