]> git.baikalelectronics.ru Git - uboot.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)
commitdc8ec52a2dc5934108da1406072deea88b7e9b7a
tree6afc1e87ee9b194269a8a207a53851bf779805d2
parent0238b83d871fc40358ecba09ae42cbcd9ccdd4f4
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