mtd: partitions: kill unused ecclayout struct
authorBrian Norris <computersforpeace@gmail.com>
Thu, 12 Nov 2015 01:05:56 +0000 (17:05 -0800)
committerBrian Norris <computersforpeace@gmail.com>
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 <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>
include/linux/mtd/partitions.h

index 773975a..8421520 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)