]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - common/env_mmc.c
env_mmc.c: Remove NULL check on tmp_env1/2
[karo-tx-uboot.git] / common / env_mmc.c
index d42168b7737852db3bda78ea83bf9bd4b0d6e3f1..f47bd777256f0bdee6252d69eaa940010620f1d0 100644 (file)
@@ -220,12 +220,6 @@ void env_relocate_spec(void)
 
        mmc = find_mmc_device(dev);
 
-       if (tmp_env1 == NULL || tmp_env2 == NULL) {
-               puts("Can't allocate buffers for environment\n");
-               ret = 1;
-               goto err;
-       }
-
        if (init_mmc_for_env(mmc)) {
                ret = 1;
                goto err;