From: Simon Glass Date: Thu, 3 Aug 2017 18:22:05 +0000 (-0600) Subject: env: Drop env_init_new() X-Git-Url: http://git.dujemihanovic.xyz/?a=commitdiff_plain;h=6eeae42469d89d51f36b2bf1d74b091340194805;p=u-boot.git 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 Reviewed-by: Tom Rini --- 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(); -}