提交 6eeae424 编写于 作者: S Simon Glass 提交者: Tom Rini

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: NSimon Glass <sjg@chromium.org>
Reviewed-by: NTom Rini <trini@konsulko.com>
上级 98b5755f
......@@ -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();
}
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册