diff options
author | Simon Glass <sjg@chromium.org> | 2017-08-03 12:22:05 -0600 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2017-08-15 20:50:29 -0400 |
commit | 6eeae42469d89d51f36b2bf1d74b091340194805 (patch) | |
tree | ec155799867bcd2c0bf365f53357ed192d79047c /env/env.c | |
parent | 98b5755fb0484ac575b66784865bde2b30ea1d87 (diff) | |
download | u-boot-6eeae42469d89d51f36b2bf1d74b091340194805.tar.gz u-boot-6eeae42469d89d51f36b2bf1d74b091340194805.tar.bz2 u-boot-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/env.c')
-rw-r--r-- | env/env.c | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -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(); -} |