History

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 ef5eeea6e911 ("mtd: nand: brcm: switch to mtd_ooblayout_ops") and commit aab616e31d1c ("mtd: kill the nand_ecclayout struct") replaced struct nand_ecclayout by the new mtd_ooblayout_ops interface. Remove these two macros therefore.

GONG, Ruiqi committed 5 years ago

Commit a2aec2c1 parent 6880fa61 file · +0 −2Browse files

Showing the changes to include/linux/mtd (1 of 1 file). Show all

Unified · Split

include/linux/mtd/mtd.h+0−2
@@ -72,8 +72,6 @@ struct mtd_oob_ops { · 71 unmodified lines
7272 uint8_t *oobbuf;
7373 };
7474
75−#define MTD_MAX_OOBFREE_ENTRIES_LARGE 32
76−#define MTD_MAX_ECCPOS_ENTRIES_LARGE 640
7775 /**
7876 * struct mtd_oob_region - oob region definition
7977 * @offset: region offset