diff options
author | Rasmus Villemoes <rasmus.villemoes@prevas.dk> | 2020-02-19 09:47:42 +0000 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-24 10:10:00 -0400 |
commit | 1df96a7e7679c691e43e53206418302aff236a27 (patch) | |
tree | 99c7b8c06a6e8419435780031eecefd5c4d0a0e6 /env/eeprom.c | |
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>
Diffstat (limited to 'env/eeprom.c')
0 files changed, 0 insertions, 0 deletions