projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
98b5755
)
env: Drop env_init_new()
author
Simon Glass
<sjg@chromium.org>
Thu, 3 Aug 2017 18:22:05 +0000
(12:22 -0600)
committer
Tom Rini
<trini@konsulko.com>
Wed, 16 Aug 2017 00:50:29 +0000
(20:50 -0400)
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>
env/env.c
patch
|
blob
|
history
diff --git
a/env/env.c
b/env/env.c
index 53a085c43198279cc13fa77e76b73959350a732e..ac6a583a0231119cbf76e9283b37dcb1bd036f87 100644
(file)
--- 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();
-}