env: nowhere: Let generic env_init() assign default environment
env_nowhere_init() assigns default environment if ENV_INVALID, but this is done in the generic env_init() function, which calls this initializer, so drop it from here. Signed-off-by: Marek Behún <marek.behun@nic.cz> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
a73c1f006c
commit
5aab7f5dec
1 changed files with 0 additions and 1 deletions
1
env/nowhere.c
vendored
1
env/nowhere.c
vendored
|
@ -22,7 +22,6 @@ DECLARE_GLOBAL_DATA_PTR;
|
|||
*/
|
||||
static int env_nowhere_init(void)
|
||||
{
|
||||
gd->env_addr = (ulong)&default_environment[0];
|
||||
gd->env_valid = ENV_INVALID;
|
||||
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue