[PATCH] au1550nd: remove unused variable

Yoichi Yuasa yoichi_yuasa at tripeaks.co.jp
Tue Jun 24 09:20:53 EDT 2008


Remove unused variable from au1550 NAND driver.

Signed-off-by: Yoichi Yuasa <yoichi_yuasa at tripeaks.co.jp>

diff -pruN -X mips/Documentation/dontdiff mips-orig/drivers/mtd/nand/au1550nd.c mips/drivers/mtd/nand/au1550nd.c
--- mips-orig/drivers/mtd/nand/au1550nd.c	2007-09-05 11:22:36.347628750 +0900
+++ mips/drivers/mtd/nand/au1550nd.c	2007-09-05 15:18:46.419306500 +0900
@@ -604,8 +604,6 @@ module_init(au1xxx_nand_init);
  */
 static void __exit au1550_cleanup(void)
 {
-	struct nand_chip *this = (struct nand_chip *)&au1550_mtd[1];
-
 	/* Release resources, unregister device */
 	nand_release(au1550_mtd);
 



More information about the linux-mtd mailing list