[U-Boot] [PATCH 2/4] env: flash: drop not needed #ifdef CMD_SAVEENV
Christian Gmeiner
christian.gmeiner at gmail.com
Tue Aug 14 09:21:17 UTC 2018
env_save_ptr(..) macro handles CMD_SAVEENV already.
Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
env/flash.c | 2 --
1 file changed, 2 deletions(-)
diff --git a/env/flash.c b/env/flash.c
index 32236c716e..f6e62df23c 100644
--- a/env/flash.c
+++ b/env/flash.c
@@ -360,9 +360,7 @@ U_BOOT_ENV_LOCATION(flash) = {
#ifdef LOADENV
.load = env_flash_load,
#endif
-#ifdef CMD_SAVEENV
.save = env_save_ptr(env_flash_save),
-#endif
#ifdef INITENV
.init = env_flash_init,
#endif
--
2.17.1
More information about the U-Boot
mailing list