commit | 1df96a7e7679c691e43e53206418302aff236a27 | [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 | 3908bc93443be458abe28b9c3797ad912612631a [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>