[PATCH v2 3/3] lib/vsprintf.c: remove unused ip6_addr_string()

Tom Rini trini at konsulko.com
Fri Jul 16 17:52:29 CEST 2021


On Fri, May 28, 2021 at 12:20:46AM +0200, Rasmus Villemoes wrote:

> There's currently no user of %p[iI]6, so including ip6_addr_string()
> in the image is a waste of bytes. It's easy enough to have the
> compiler elide it without removing the code completely.
> 
> The closest I can find to anybody "handling" ipv6 in U-Boot currently
> is in efi_net.c which does
> 
>         if (ipv6) {
>                 ret = EFI_UNSUPPORTED;
> 
> As indicated in the comment, it can easily be put back, but preferably
> under a config knob.
> 
> Reviewed-by: Simon Glass <sjg at chromium.org>
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>

Applied to u-boot/master, 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/20210716/1131eddb/attachment.sig>


More information about the U-Boot mailing list