]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: Remove NULL assignments in spl_load_info
authorSean Anderson <seanga2@gmail.com>
Wed, 8 Nov 2023 16:48:37 +0000 (11:48 -0500)
committerTom Rini <trini@konsulko.com>
Thu, 16 Nov 2023 18:49:13 +0000 (13:49 -0500)
commitfeaeb8fa6f949dd76d455a91793a859382678a72
treecfbc217f0390a3bf8e9fdf0bdbf1552407ea0d7d
parent517e70856f0fcbb9c84de0414430086bea0008ee
spl: Remove NULL assignments in spl_load_info

Remove NULL assignments to fields in spl_load_info when .load doesn't
reference these fields. This can result in more efficient code. filename
must stay even if it is unused, since load_simple_fit uses it.

Signed-off-by: Sean Anderson <seanga2@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
arch/arm/mach-sunxi/spl_spi_sunxi.c
common/spl/spl_fat.c
common/spl/spl_mmc.c
common/spl/spl_nand.c
common/spl/spl_spi.c
common/spl/spl_ymodem.c