summaryrefslogtreecommitdiffstats
path: root/env/remote.c
diff options
context:
space:
mode:
Diffstat (limited to 'env/remote.c')
-rw-r--r--env/remote.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/env/remote.c b/env/remote.c
index 0324cba099..c5dce5b966 100644
--- a/env/remote.c
+++ b/env/remote.c
@@ -33,9 +33,7 @@ static int env_remote_init(void)
return 0;
}
- gd->env_addr = (ulong)default_environment;
- gd->env_valid = 0;
- return 0;
+ return -ENOENT;
}
#ifdef CONFIG_CMD_SAVEENV