mtd: partitions: kill unused ecclayout struct

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Tue Jan 12 15:59:05 PST 2016


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=26add94cd535d1e000e7871fe69c7bb89e942d67
Commit:     26add94cd535d1e000e7871fe69c7bb89e942d67
Parent:     938672338991ac8bef5cb025b187ab8d6230ac6c
Author:     Brian Norris <computersforpeace at gmail.com>
AuthorDate: Wed Nov 11 17:05:56 2015 -0800
Committer:  Brian Norris <computersforpeace at gmail.com>
CommitDate: Thu Nov 12 10:10:59 2015 -0800

    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 at maximintegrated.com>
    Cc: Brian Foster <brian.foster at maximintegrated.com>
    Signed-off-by: Brian Norris <computersforpeace at gmail.com>
    Reviewed-by: Boris Brezillon <boris.brezillon at free-electrons.com>
---
 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 773975a..8421520 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) */
 };
 
 #define MTDPART_OFS_RETAIN	(-3)



More information about the linux-mtd-cvs mailing list