diff options
author | Stefan Herbrechtsmeier | 2023-05-02 12:23:05 +0200 |
---|---|---|
committer | Tom Rini | 2023-05-16 16:12:21 -0400 |
commit | 8344162ea88a3dc8dc64b93709849e1d40ec8b40 (patch) | |
tree | 5b9de0f64aa1b5b2165739c562c604ad9a31ce2c /env/env.c | |
parent | 35a6fdc58d7716b64b7b862a7f06c690ed4d57ab (diff) |
env: Remove misuse of env is nowhere leftover
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 leftover of
misuse of the env is nowhere driver as default environment.
Signed-off-by: Stefan Herbrechtsmeier <stefan.herbrechtsmeier@weidmueller.com>
Diffstat (limited to 'env/env.c')
-rw-r--r-- | env/env.c | 2 |
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) |