From: Sascha Hauer Date: Fri, 5 Jun 2009 08:55:32 +0000 (+0200) Subject: mxc_nand: remove unused defines X-Git-Tag: upstream/snapshot3+hdmi~16127^2~7^2~7 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0e60c7c4015f051ff921e6c30844f31e17f8ad95;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git mxc_nand: remove unused defines Signed-off-by: Sascha Hauer --- diff --git a/drivers/mtd/nand/mxc_nand.c b/drivers/mtd/nand/mxc_nand.c index 1131ad1..ab6db69 100644 --- a/drivers/mtd/nand/mxc_nand.c +++ b/drivers/mtd/nand/mxc_nand.c @@ -122,13 +122,6 @@ struct mxc_nand_host { /* Define delays in microsec for NAND device operations */ #define TROP_US_DELAY 2000 -/* Macros to get byte and bit positions of ECC */ -#define COLPOS(x) ((x) >> 3) -#define BITPOS(x) ((x) & 0xf) - -/* Define single bit Error positions in Main & Spare area */ -#define MAIN_SINGLEBIT_ERROR 0x4 -#define SPARE_SINGLEBIT_ERROR 0x1 /* OOB placement block for use with hardware ecc generation */ static struct nand_ecclayout nand_hw_eccoob_smallpage = {