NAND: Fix compilation warning and small coding style issue

Signed-off-by: Stefan Roese <sr@denx.de>
diff --git a/common/cmd_nand.c b/common/cmd_nand.c
index af1b1ca..710ba8f 100644
--- a/common/cmd_nand.c
+++ b/common/cmd_nand.c
@@ -50,7 +50,6 @@
 		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 @@
 		}
 /*
  * ! BROKEN !
- * 
+ *
  * TODO: must be implemented and tested by someone with HW
  */
 #if 0
@@ -469,7 +468,7 @@
 
 /*
  * ! BROKEN !
- * 
+ *
  * TODO: must be implemented and tested by someone with HW
  */
 #if 0