]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: Remove obsolete macros only used by the old nand_ecclayout struct
authorGONG, Ruiqi <gongruiqi1@huawei.com>
Mon, 30 Aug 2021 08:33:56 +0000 (16:33 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 14 Sep 2021 17:34:28 +0000 (19:34 +0200)
commit5d084c36781c4f4f3f7797bc7ab9d20c470683d0
treea0819ce38af579f8ae1b90511fa4f01d1358e286
parentb901123b83fca756ffcd85ea50a6cd9637d66d0c
mtd: Remove obsolete macros only used by the old nand_ecclayout struct

All uses of MTD_MAX_{OOBFREE,ECCPOS}_ENTRIES_LARGE have been removed as
commit 4ed1b2dd2d76 ("mtd: nand: brcm: switch to mtd_ooblayout_ops") and
commit 35b3aa15a727 ("mtd: kill the nand_ecclayout struct") replaced
struct nand_ecclayout by the new mtd_ooblayout_ops interface. Remove
these two macros therefore.

Reported-by: Yi Yang <yiyang13@huawei.com>
Signed-off-by: GONG, Ruiqi <gongruiqi1@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20210830083356.31702-1-gongruiqi1@huawei.com
include/linux/mtd/mtd.h