[PATCH 1/1] spl: fit: do not check argument of free()

Tom Rini trini at konsulko.com
Sun Apr 26 13:28:47 CEST 2020


On Mon, Apr 20, 2020 at 12:44:01PM +0200, Heinrich Schuchardt wrote:

> The free() function checks if its argument is NULL. It is superfluous to do
> the same check on the calling side.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>

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/20200426/8d0aa3a3/attachment.sig>


More information about the U-Boot mailing list