[PATCH] mtd: partitions: kill unused ecclayout struct
Boris Brezillon
boris.brezillon at free-electrons.com
Thu Nov 12 00:42:41 PST 2015
On Wed, 11 Nov 2015 17:05:56 -0800
Brian Norris <computersforpeace at gmail.com> wrote:
> 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>
> ---
> Depends on this for killing its last use:
>
> http://patchwork.ozlabs.org/patch/543159/
>
> 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 282644c0c5c0..34388ced421a 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) */
> struct device_node *of_node; /* OF node attached to the partition */
> };
>
--
Boris Brezillon, Free Electrons
Embedded Linux and Kernel engineering
http://free-electrons.com
More information about the linux-mtd
mailing list