[PATCH v2] disk: Use a helper function to reduce duplication

Tom Rini trini at konsulko.com
Fri Mar 31 16:17:03 CEST 2023


On Mon, Mar 20, 2023 at 08:29:57AM +1300, Simon Glass wrote:

> Reduce the duplicated code slightly by using a helper function to handle
> the common code.
> 
> This reduces the code size very slightly.
> 
> Signed-off-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/next, thanks!

-- 
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/20230331/40e28d8c/attachment.sig>


More information about the U-Boot mailing list