Make compile clean.
diff --git a/common/cmd_ace.c b/common/cmd_ace.c
index 3512a15..4969811 100644
--- a/common/cmd_ace.c
+++ b/common/cmd_ace.c
@@ -53,7 +53,7 @@
       return readw(CFG_SYSTEMACE_BASE+offset);
 }
 
-static unsigned ace_writew(unsigned val, unsigned offset)
+static void ace_writew(unsigned val, unsigned offset)
 {
       writew(val, CFG_SYSTEMACE_BASE+offset);
 }
@@ -119,7 +119,6 @@
 				    unsigned long blkcnt,
 				    unsigned long *buffer)
 {
-      unsigned val;
       int retry;
       unsigned blk_countdown;
       unsigned char*dp = (unsigned char*)buffer;
@@ -218,4 +217,4 @@
 
       return blkcnt;
 }
-#endif
+#endif	/* CONFIG_SYSTEMACE */