Commit 6db02fdf authored by Christophe JAILLET's avatar Christophe JAILLET Committed by Miquel Raynal
parent 87194aba
...@@ -326,7 +326,6 @@ static int __mtd_del_partition(struct mtd_info *mtd) ...@@ -326,7 +326,6 @@ static int __mtd_del_partition(struct mtd_info *mtd)
static int __del_mtd_partitions(struct mtd_info *mtd) static int __del_mtd_partitions(struct mtd_info *mtd)
{ {
struct mtd_info *child, *next; struct mtd_info *child, *next;
LIST_HEAD(tmp_list);
int ret, err = 0; int ret, err = 0;
list_for_each_entry_safe(child, next, &mtd->partitions, part.node) { list_for_each_entry_safe(child, next, &mtd->partitions, part.node) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment