commit | 89809e80bab25563d73cfdbb0c2cd25e2c20b6eb | [log] [tgz] |
---|---|---|
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | Wed Feb 19 09:47:42 2020 +0000 |
committer | Tom Rini <trini@konsulko.com> | Fri Apr 24 10:10:00 2020 -0400 |
tree | 99c7b8c06a6e8419435780031eecefd5c4d0a0e6 | |
parent | 975ffbab00c9dd84cab17dad6f42caa1ede2677f [diff] |
env/ext4.c: remove CONFIG_CMD_SAVEENV ifdef Removing this ifdef/endif pair yields a "defined but unused warning" for CONFIG_CMD_SAVEENV=n, but that vanishes if we use the ENV_SAVE_PTR macro instead. This gives slightly better compile testing, and moreover, it's possible to have CONFIG_CMD_SAVEENV=n CONFIG_SPL_SAVEENV=y SPL_ENV_IS_IN_EXT4=y in which case env_ext4_save would erroneously not be compiled in. Signed-off-by: Rasmus Villemoes <rasmus.villemoes@prevas.dk>