]> git.sur5r.net Git - u-boot/blobdiff - env/mmc.c
libfdt: fix <linux/libfdt.h>
[u-boot] / env / mmc.c
index 3343f9e9f6c0742bc65105bc81ebc87aea23afd7..528fbf978162ddb40ea1c09d36a71f3e8c4023af 100644 (file)
--- a/env/mmc.c
+++ b/env/mmc.c
@@ -73,7 +73,7 @@ static inline s64 mmc_offset(int copy)
                .partition = "u-boot,mmc-env-partition",
                .offset = "u-boot,mmc-env-offset",
        };
-       s64 val, defvalue;
+       s64 val = 0, defvalue;
        const char *propname;
        const char *str;
        int err;
@@ -233,7 +233,6 @@ static int env_mmc_save(void)
                goto fini;
        }
 
-       puts("done\n");
        ret = 0;
 
 #ifdef CONFIG_ENV_OFFSET_REDUND