env_save_ptr(..) macro handles CMD_SAVEENV already.

Signed-off-by: Christian Gmeiner <christian.gmei...@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

_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
https://lists.denx.de/listinfo/u-boot

Reply via email to