projects
/
platform
/
kernel
/
linux-starfive.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
87194ab
)
mtd: mtdpart: Drop useless LIST_HEAD
author
Christophe JAILLET
<christophe.jaillet@wanadoo.fr>
Sun, 4 Jun 2023 04:42:01 +0000
(06:42 +0200)
committer
Miquel Raynal
<miquel.raynal@bootlin.com>
Fri, 9 Jun 2023 15:27:14 +0000
(17:27 +0200)
'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
drivers/mtd/mtdpart.c
patch
|
blob
|
history
diff --git
a/drivers/mtd/mtdpart.c
b/drivers/mtd/mtdpart.c
index
85f5ee6
..
a46affb
100644
(file)
--- a/
drivers/mtd/mtdpart.c
+++ b/
drivers/mtd/mtdpart.c
@@
-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) {