summaryrefslogtreecommitdiffstats
path: root/include/linux/mtd
diff options
context:
space:
mode:
authorBrian Norris <computersforpeace@gmail.com>2015-11-11 20:05:56 -0500
committerBrian Norris <computersforpeace@gmail.com>2015-11-12 13:10:59 -0500
commit26add94cd535d1e000e7871fe69c7bb89e942d67 (patch)
treebd40680cec95a91060c97de18890e0fc559a5f30 /include/linux/mtd
parent938672338991ac8bef5cb025b187ab8d6230ac6c (diff)
mtd: partitions: kill unused ecclayout struct
This field is not used. Reported here: http://lists.infradead.org/pipermail/linux-mtd/2015-October/062417.html Reported-by: Brian Foster <brian.foster@maximintegrated.com> Cc: Brian Foster <brian.foster@maximintegrated.com> Signed-off-by: Brian Norris <computersforpeace@gmail.com> Reviewed-by: Boris Brezillon <boris.brezillon@free-electrons.com>
Diffstat (limited to 'include/linux/mtd')
-rw-r--r--include/linux/mtd/partitions.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mtd/partitions.h b/include/linux/mtd/partitions.h
index 773975a3c9e6..8421520c10eb 100644
--- a/include/linux/mtd/partitions.h
+++ b/include/linux/mtd/partitions.h
@@ -41,7 +41,6 @@ struct mtd_partition {
41 uint64_t size; /* partition size */ 41 uint64_t size; /* partition size */
42 uint64_t offset; /* offset within the master MTD space */ 42 uint64_t offset; /* offset within the master MTD space */
43 uint32_t mask_flags; /* master MTD flags to mask out for this partition */ 43 uint32_t mask_flags; /* master MTD flags to mask out for this partition */
44 struct nand_ecclayout *ecclayout; /* out of band layout for this partition (NAND only) */
45}; 44};
46 45
47#define MTDPART_OFS_RETAIN (-3) 46#define MTDPART_OFS_RETAIN (-3)