aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGONG, Ruiqi <[email protected]>2021-08-30 16:33:56 +0800
committerMiquel Raynal <[email protected]>2021-09-14 19:34:28 +0200
commita2aec2c86ef0cad0fd6be718cfeb5cf5eefbfca9 (patch)
treea0819ce38af579f8ae1b90511fa4f01d1358e286
parent6880fa6c56601bb8ed59df6c30fd390cc5f6dd8f (diff)
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. Reported-by: Yi Yang <[email protected]> Signed-off-by: GONG, Ruiqi <[email protected]> Signed-off-by: Miquel Raynal <[email protected]> Link: https://lore.kernel.org/linux-mtd/[email protected]
-rw-r--r--include/linux/mtd/mtd.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/include/linux/mtd/mtd.h b/include/linux/mtd/mtd.h
index 88227044fc86..f5e7dfc2e4e9 100644
--- a/include/linux/mtd/mtd.h
+++ b/include/linux/mtd/mtd.h
@@ -72,8 +72,6 @@ struct mtd_oob_ops {
uint8_t *oobbuf;
};
-#define MTD_MAX_OOBFREE_ENTRIES_LARGE 32
-#define MTD_MAX_ECCPOS_ENTRIES_LARGE 640
/**
* struct mtd_oob_region - oob region definition
* @offset: region offset