mxc_nand: remove unused defines

Linux-MTD Mailing List linux-mtd at lists.infradead.org
Mon Nov 30 07:59:05 EST 2009


Gitweb:     http://git.infradead.org/?p=mtd-2.6.git;a=commit;h=0e60c7c4015f051ff921e6c30844f31e17f8ad95
Commit:     0e60c7c4015f051ff921e6c30844f31e17f8ad95
Parent:     c5d23f1bf384e4a17bc4a014313a4157c015a820
Author:     Sascha Hauer <s.hauer at pengutronix.de>
AuthorDate: Fri Jun 5 10:55:32 2009 +0200
Committer:  Sascha Hauer <s.hauer at pengutronix.de>
CommitDate: Thu Nov 12 08:32:53 2009 +0100

    mxc_nand: remove unused defines
    
    Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
 drivers/mtd/nand/mxc_nand.c |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

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 = {



More information about the linux-mtd-cvs mailing list