[PATCH] mtd: partitions: kill unused ecclayout struct

Brian Norris computersforpeace at gmail.com
Wed Nov 11 17:05:56 PST 2015


This field is not used.

Reported here:

http://lists.infradead.org/pipermail/linux-mtd/2015-October/062417.html

Reported-by: Brian Foster <brian.foster at maximintegrated.com>
Cc: Brian Foster <brian.foster at maximintegrated.com>
Signed-off-by: Brian Norris <computersforpeace at gmail.com>
---
Depends on this for killing its last use:

  http://patchwork.ozlabs.org/patch/543159/

 include/linux/mtd/partitions.h | 1 -
 1 file changed, 1 deletion(-)

diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h
index 282644c0c5c0..34388ced421a 100644
--- a/include/linux/mtd/partitions.h
+++ b/include/linux/mtd/partitions.h
@@ -41,7 +41,6 @@ struct mtd_partition {
 	uint64_t size;			/* partition size */
 	uint64_t offset;		/* offset within the master MTD space */
 	uint32_t mask_flags;		/* master MTD flags to mask out for this partition */
-	struct nand_ecclayout *ecclayout;	/* out of band layout for this partition (NAND only) */
 	struct device_node *of_node;	/* OF node attached to the partition */
 };
 
-- 
2.6.0.rc2.230.g3dd15c0




More information about the linux-mtd mailing list