aboutsummaryrefslogtreecommitdiffstats
path: root/env
diff options
context:
space:
mode:
authorSimon Glass <sjg@chromium.org>2017-08-03 12:22:05 -0600
committerTom Rini <trini@konsulko.com>2017-08-15 20:50:29 -0400
commit6eeae42469d89d51f36b2bf1d74b091340194805 (patch)
treeec155799867bcd2c0bf365f53357ed192d79047c /env
parent98b5755fb0484ac575b66784865bde2b30ea1d87 (diff)
downloadu-boot-midas-6eeae42469d89d51f36b2bf1d74b091340194805.tar.gz
u-boot-midas-6eeae42469d89d51f36b2bf1d74b091340194805.tar.bz2
u-boot-midas-6eeae42469d89d51f36b2bf1d74b091340194805.zip
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>
Diffstat (limited to 'env')
-rw-r--r--env/env.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/env/env.c b/env/env.c
index 53a085c431..ac6a583a02 100644
--- a/env/env.c
+++ b/env/env.c
@@ -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();
-}