diff options
author | Patrick Delaunay <patrick.delaunay@foss.st.com> | 2022-11-10 11:49:00 +0100 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-01-10 12:37:09 -0500 |
commit | 8566050e247bacb734a57a2529f49139f2c63dce (patch) | |
tree | 4df6813a90a952362cc571be80e68dd46e7b6906 /cmd/source.c | |
parent | 46c9016b7f794ce8761e12b4b971be061dd861a3 (diff) |
env: mcc: fix compilation error with ENV_IS_EMBEDDED
When ENV_IS_EMBEDDED is enabled, ret is not defined but is used as a
return value in env_mmc_load().
This patch correct this issue and simplify the existing code, test only
one time #if defined(ENV_IS_EMBEDDED) and not in the function.
Signed-off-by: Patrick Delaunay <patrick.delaunay@foss.st.com>
Reviewed-by: Patrice Chotard <patrice.chotard@foss.st.com>
Diffstat (limited to 'cmd/source.c')
0 files changed, 0 insertions, 0 deletions