diff options
author | NeilBrown <neilb@suse.de> | 2010-11-22 10:58:05 +0100 |
---|---|---|
committer | NeilBrown <neilb@suse.de> | 2010-11-22 10:58:05 +0100 |
commit | 2b594614a153a94f2f061c9dfae079986d243ee5 (patch) | |
tree | edc8719e67eb6009db3af9ad51cdb75322bd036d /config.c | |
parent | Assemble: contract next_member loop. (diff) | |
download | mdadm-2b594614a153a94f2f061c9dfae079986d243ee5.tar.xz mdadm-2b594614a153a94f2f061c9dfae079986d243ee5.zip |
Remove content from mddev_dev
Now that the next_member loop is much smaller it is easy to
just use 'content' rather than stashing it in 'tmpdev->content'.
So we can remove the 'content' field from 'struct mddev_dev'.
Signed-off-by: NeilBrown <neilb@suse.de>
Diffstat (limited to 'config.c')
-rw-r--r-- | config.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -260,7 +260,6 @@ struct mddev_dev *load_partitions(void) d->devname = strdup(name); d->next = rv; d->used = 0; - d->content = NULL; rv = d; } fclose(f); @@ -290,7 +289,6 @@ struct mddev_dev *load_containers(void) } d->next = rv; d->used = 0; - d->content = NULL; rv = d; } free_mdstat(mdstat); @@ -964,7 +962,6 @@ struct mddev_dev *conf_get_devs() t->devname = strdup(globbuf.gl_pathv[i]); t->next = dlist; t->used = 0; - t->content = NULL; dlist = t; /* printf("one dev is %s\n", t->devname);*/ } |