[PATCH 4/5] env/ext4.c: remove CONFIG_CMD_SAVEENV ifdef

Tom Rini trini at konsulko.com
Fri Apr 24 19:08:29 CEST 2020

On Wed, Feb 19, 2020 at 09:47:42AM +0000, Rasmus Villemoes wrote:

> 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
> in which case env_ext4_save would erroneously not be compiled in.
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>

Applied to u-boot/master, thanks!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20200424/9783cfd8/attachment.sig>

More information about the U-Boot mailing list