mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-09-18 22:14:16 +00:00
mtd: mtdpart: Drop useless LIST_HEAD
'tmp_list' is unused, so drop it. Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr> Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/547248195d87d1240d6126d13eb1364b1a0b634d.1685853690.git.christophe.jaillet@wanadoo.fr
This commit is contained in:
parent
87194abaa5
commit
6db02fdfdc
1 changed files with 0 additions and 1 deletions
|
@ -326,7 +326,6 @@ static int __mtd_del_partition(struct mtd_info *mtd)
|
|||
static int __del_mtd_partitions(struct mtd_info *mtd)
|
||||
{
|
||||
struct mtd_info *child, *next;
|
||||
LIST_HEAD(tmp_list);
|
||||
int ret, err = 0;
|
||||
|
||||
list_for_each_entry_safe(child, next, &mtd->partitions, part.node) {
|
||||
|
|
Loading…
Add table
Reference in a new issue