summaryrefslogtreecommitdiff
path: root/env/env.c
diff options
context:
space:
mode:
authorTom Rini <trini@konsulko.com>2023-05-16 20:24:21 -0400
committerTom Rini <trini@konsulko.com>2023-05-16 20:24:21 -0400
commitf9c58e0f1a3d4eda1f89c7cc02bcc3ad8bbf61a8 (patch)
tree5b9de0f64aa1b5b2165739c562c604ad9a31ce2c /env/env.c
parent5d0b3dde115b0d26d414199678983d01b738ad1b (diff)
parent8344162ea88a3dc8dc64b93709849e1d40ec8b40 (diff)
Merge branch '2023-05-16-remove-misuse-of-env-is-nowhere' into next
To quote the author: When using a list of writeable variables, the initial values come from the built-in default environment since commit 5ab81058364b ("env: Complete generic support for writable list"). Remove unnecessary misuse of the env is nowhere driver as default environment.
Diffstat (limited to 'env/env.c')
-rw-r--r--env/env.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/env/env.c b/env/env.c
index ad774f41175..2aa52c98f8f 100644
--- a/env/env.c
+++ b/env/env.c
@@ -217,9 +217,7 @@ int env_load(void)
printf("OK\n");
gd->env_load_prio = prio;
-#if !CONFIG_IS_ENABLED(ENV_APPEND)
return 0;
-#endif
} else if (ret == -ENOMSG) {
/* Handle "bad CRC" case */
if (best_prio == -1)