ARM: sc8830: fdl: remove build warnings
[profile/mobile/platform/kernel/u-boot-tm1.git] / nand_fdl / common / src / fdl_stdio.c
index 7715a96..ed77845 100644 (file)
@@ -3,12 +3,10 @@
 void *FDL_memcpy (void *dst, const void *src, unsigned int count)
 {
     void *ret = dst;
+#if ((defined(SC8800S_LITTLE_ENDIAN) && defined(_BIG_ENDIAN))) || (defined(FDL_ENDIAN_SWITCH))//temp for data swap in fdl1
     unsigned int *tmp_dst = (unsigned int *) dst;
-    unsigned int word_num, i;
     unsigned int value;
 
-    
-#if ((defined(SC8800S_LITTLE_ENDIAN) && defined(_BIG_ENDIAN))) || (defined(FDL_ENDIAN_SWITCH))//temp for data swap in fdl1
     count =  count / 4;
 
     while (count-->0)