[PATCH 3/4] lib/hashtable.c: don't test ->callback in SPL

Tom Rini trini at konsulko.com
Fri Apr 24 19:08:58 CEST 2020


On Thu, Feb 27, 2020 at 01:56:11PM +0000, Rasmus Villemoes wrote:

> In SPL, environment callbacks are not supported, so e->callback is
> always NULL. Removing this makes the SPL a little smaller (about 400
> bytes in my ppc build) with no functional change.
> 
> Signed-off-by: Rasmus Villemoes <rasmus.villemoes at prevas.dk>
> Reviewed-by: Simon Glass <sjg at chromium.org>

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/20200424/1eda1f6d/attachment.sig>


More information about the U-Boot mailing list