]> git.dujemihanovic.xyz Git - u-boot.git/commit
spl: fit: do not check argument of free()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Mon, 20 Apr 2020 10:44:01 +0000 (12:44 +0200)
committerTom Rini <trini@konsulko.com>
Fri, 24 Apr 2020 20:40:09 +0000 (16:40 -0400)
commit077e72c6e6266a215cdbb8bfb07d791cb9c070ec
tree6afc1e87ee9b194269a8a207a53851bf779805d2
parentdd786d4c4c0869625e76b8cef32539473529ecd2
spl: fit: do not check argument of free()

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@gmx.de>
common/spl/spl_fit.c