commit | 1e33bff2b41650685ec93149ccbd3cf5c39de357 | [log] [tgz] |
---|---|---|
author | Quentin Schulz <quentin.schulz@theobroma-systems.com> | Wed Jan 17 18:59:12 2024 +0100 |
committer | Kever Yang <kever.yang@rock-chips.com> | Fri Jan 19 10:57:36 2024 +0800 |
tree | 09ed1fb6b3b52ef7fc4fb58620d7e5612590a6d9 | |
parent | 7665d33d658cf2d6fe86a3c0ef62bf1fd2e92778 [diff] |
env: migrate env_get_default to call env_get_default_into Since both functions share a similar goal and env_get_default_into can do what env_get_default wants to do with specific arguments, let's make env_get_default call env_get_default_into so as to avoid code duplication. Cc: Quentin Schulz <foss+uboot@0leil.net> Reviewed-by: Tom Rini <trini@konsulko.com> Reviewed-by: Kever Yang <kever.yang@rock-chips.com> Signed-off-by: Quentin Schulz <quentin.schulz@theobroma-systems.com>