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

Commit 6b852029 authored by Manish Katiyar's avatar Manish Katiyar Committed by David Woodhouse
Browse files

[MTD] [NAND] Fix compilation warnings in drivers/mtd/nand/cs553x_nand.c



Below patch fixes the following compilation warnings.
drivers/mtd/nand/cs553x_nand.c:293: warning: unused variable 'mtd_parts'
drivers/mtd/nand/cs553x_nand.c:292: warning: unused variable 'mtd_parts_nb'

Signed-off-by: default avatarManish Katiyar <mkatiyar@gmail.com>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent 5bf17237
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -289,8 +289,10 @@ static int __init cs553x_init(void)
	int i;
	uint64_t val;

#ifdef CONFIG_MTD_PARTITIONS
	int mtd_parts_nb = 0;
	struct mtd_partition *mtd_parts = NULL;
#endif

	/* If the CPU isn't a Geode GX or LX, abort */
	if (!is_geode())