Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit f454b43a authored by Sergei Shtylyov's avatar Sergei Shtylyov Committed by Vignesh Raghavendra
Browse files

mtd: chips: gen_probe: kill useless initializer in mtd_do_chip_probe()



The 'mtd' local variable is initialized but this value is never used,
thus kill that initializer.

Signed-off-by: default avatarSergei Shtylyov <sergei.shtylyov@cogentembedded.com>
Signed-off-by: default avatarVignesh Raghavendra <vigneshr@ti.com>
parent 5f9e832c
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -20,7 +20,7 @@ static int genprobe_new_chip(struct map_info *map, struct chip_probe *cp,

struct mtd_info *mtd_do_chip_probe(struct map_info *map, struct chip_probe *cp)
{
	struct mtd_info *mtd = NULL;
	struct mtd_info *mtd;
	struct cfi_private *cfi;

	/* First probe the map to see if we have CFI stuff there. */