Signed-off-by: Lidong Zhong <lzhong@xxxxxxxx> --- config.c | 7 ------- 1 file changed, 7 deletions(-) diff --git a/config.c b/config.c index c58c8fe..bb5af86 100644 --- a/config.c +++ b/config.c @@ -941,13 +941,6 @@ struct mddev_dev *conf_get_devs() static struct mddev_dev *dlist = NULL; unsigned int i; - while (dlist) { - struct mddev_dev *t = dlist; - dlist = dlist->next; - free(t->devname); - free(t); - } - load_conffile(); if (cdevlist == NULL) { -- 1.8.1.4 -- To unsubscribe from this list: send the line "unsubscribe linux-raid" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html