summaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
Diffstat (limited to 'common')
-rw-r--r--common/env_mmc.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/common/env_mmc.c b/common/env_mmc.c
index d42168b773..f47bd77725 100644
--- a/common/env_mmc.c
+++ b/common/env_mmc.c
@@ -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;
OpenPOWER on IntegriCloud