[U-Boot] [PATCH 1/4] env: fat: drop not needed #ifdef CMD_SAVEENV

Christian Gmeiner christian.gmeiner at gmail.com
Tue Aug 14 09:21:16 UTC 2018


env_save_ptr(..) macro handles CMD_SAVEENV already.

Signed-off-by: Christian Gmeiner <christian.gmeiner at gmail.com>
---
 env/fat.c | 2 --
 1 file changed, 2 deletions(-)

diff --git a/env/fat.c b/env/fat.c
index 7f74c64dfe..165a11345f 100644
--- a/env/fat.c
+++ b/env/fat.c
@@ -134,7 +134,5 @@ U_BOOT_ENV_LOCATION(fat) = {
 #ifdef LOADENV
 	.load		= env_fat_load,
 #endif
-#ifdef CMD_SAVEENV
 	.save		= env_save_ptr(env_fat_save),
-#endif
 };
-- 
2.17.1



More information about the U-Boot mailing list