mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
env: Drop env_init_new()
Now that env_init() is only defined once we can drop the env_init_new() name and just use env_init(). Signed-off-by: Simon Glass <sjg@chromium.org> Reviewed-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
98b5755fb0
commit
6eeae42469
1 changed files with 1 additions and 5 deletions
6
env/env.c
vendored
6
env/env.c
vendored
|
@ -125,7 +125,7 @@ int env_save(void)
|
|||
return 0;
|
||||
}
|
||||
|
||||
int env_init_new(void)
|
||||
int env_init(void)
|
||||
{
|
||||
struct env_driver *drv = env_driver_lookup_default();
|
||||
int ret = -ENOENT;
|
||||
|
@ -163,7 +163,3 @@ int saveenv(void)
|
|||
return env_save();
|
||||
}
|
||||
|
||||
int env_init(void)
|
||||
{
|
||||
return env_init_new();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue