]> git.ipfire.org Git - people/ms/u-boot.git/commitdiff
NAND: Fix compilation warning and small coding style issue
authorStefan Roese <sr@denx.de>
Sat, 5 Jan 2008 15:50:32 +0000 (16:50 +0100)
committerScott Wood <scottwood@freescale.com>
Tue, 12 Aug 2008 16:31:23 +0000 (11:31 -0500)
Signed-off-by: Stefan Roese <sr@denx.de>
common/cmd_nand.c

index af1b1cadd61bf9ebfdc0afa2de5a366e7978f843..710ba8f9460fafd058d9185eacf1bd13700d60b4 100644 (file)
@@ -50,7 +50,6 @@ static int nand_dump(nand_info_t *nand, ulong off, int only_oob)
                return 1;
        }
        off &= ~(nand->writesize - 1);
-       size_t dummy;
        loff_t addr = (loff_t) off;
        struct mtd_oob_ops ops;
        memset(&ops, 0, sizeof(ops));
@@ -415,7 +414,7 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
                }
 /*
  * ! BROKEN !
- * 
+ *
  * TODO: must be implemented and tested by someone with HW
  */
 #if 0
@@ -469,7 +468,7 @@ int do_nand(cmd_tbl_t * cmdtp, int flag, int argc, char *argv[])
 
 /*
  * ! BROKEN !
- * 
+ *
  * TODO: must be implemented and tested by someone with HW
  */
 #if 0