Removing warning:
drivers/mtd/nand/omap2.c: In function 'omap_calculate_ecc':
drivers/mtd/nand/omap2.c:466: warning: unused variable 'chip'

Signed-off-by: Vimal Singh <[EMAIL PROTECTED]>

---
 drivers/mtd/nand/omap2.c |    1 -
 1 files changed, 1 deletion(-)

Index: omapkernel/drivers/mtd/nand/omap2.c
===================================================================
--- omapkernel.orig/drivers/mtd/nand/omap2.c    2008-11-06 12:48:05.000000000 
+0530
+++ omapkernel/drivers/mtd/nand/omap2.c 2008-11-06 12:48:12.000000000 +0530
@@ -463,7 +463,6 @@
 {
        struct omap_nand_info *info = container_of(mtd, struct omap_nand_info,
                                                        mtd);
-       register struct nand_chip *chip = mtd->priv;
        unsigned long val = 0x0;
        unsigned long reg;



--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to