]> Git Repo - linux.git/commitdiff
mtd: partitions: kill unused ecclayout struct
authorBrian Norris <[email protected]>
Thu, 12 Nov 2015 01:05:56 +0000 (17:05 -0800)
committerBrian Norris <[email protected]>
Thu, 12 Nov 2015 18:10:59 +0000 (10:10 -0800)
This field is not used.

Reported here:

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

Reported-by: Brian Foster <[email protected]>
Cc: Brian Foster <[email protected]>
Signed-off-by: Brian Norris <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
include/linux/mtd/partitions.h

index 773975a3c9e6396586a62d6cf60d651ef476ef19..8421520c10eb2ffdb7d3e70a2376fb6076aa84c6 100644 (file)
@@ -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) */
 };
 
 #define MTDPART_OFS_RETAIN     (-3)
This page took 0.061859 seconds and 4 git commands to generate.