From: Brian Norris Date: Thu, 12 Nov 2015 01:05:56 +0000 (-0800) Subject: mtd: partitions: kill unused ecclayout struct X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=26add94cd535d1e000e7871fe69c7bb89e942d67;p=GitHub%2FLineageOS%2Fandroid_kernel_motorola_exynos9610.git 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 Cc: Brian Foster Signed-off-by: Brian Norris Reviewed-by: Boris Brezillon --- 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 { 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)