[PATCH 2/6] env: migrate env_get_default to call env_get_default_into

Tom Rini trini at konsulko.com
Thu Nov 9 22:24:21 CET 2023


On Wed, Nov 08, 2023 at 03:20:31PM +0100, Quentin Schulz wrote:

> From: Quentin Schulz <quentin.schulz at theobroma-systems.com>
> 
> 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 at 0leil.net>
> Signed-off-by: Quentin Schulz <quentin.schulz at theobroma-systems.com>

Reviewed-by: Tom Rini <trini at konsulko.com>

-- 
Tom
-------------- 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/20231109/17534380/attachment.sig>


More information about the U-Boot mailing list