diff options
| author | Tom Rini <[email protected]> | 2021-09-24 07:40:07 -0400 |
|---|---|---|
| committer | Tom Rini <[email protected]> | 2021-09-24 07:43:22 -0400 |
| commit | 2c14ff587998e2b0a94bc2b693bcd43094a40b8c (patch) | |
| tree | 5e8aa1892899400b74a832324c4c0f8f7597d0bf | |
| parent | 657668348b5d677afca029673479266ef601f8a6 (diff) | |
Revert "env: Make _init() expect _INVALID when _IS_NOWHERE"
Upon further discussion, this is not required now.
This reverts commit f6bc5d17afa9fe12418edaf1fc9f82beeda06132.
Link: https://lore.kernel.org/r/[email protected]/
Signed-off-by: Tom Rini <[email protected]>
| -rw-r--r-- | env/env.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/env/env.c b/env/env.c index 0a0f234747a..e5340080060 100644 --- a/env/env.c +++ b/env/env.c @@ -336,7 +336,7 @@ int env_init(void) debug("%s: Environment %s init done (ret=%d)\n", __func__, drv->name, ret); - if (gd->env_valid == ENV_INVALID && drv->location != ENVL_NOWHERE) + if (gd->env_valid == ENV_INVALID) ret = -ENOENT; } |
