diff options
author | Heinrich Schuchardt <xypron.glpk@gmx.de> | 2020-04-19 11:56:02 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2020-04-24 16:40:09 -0400 |
commit | c11f0d88ba462976335a4990a30a99d1d0b49195 (patch) | |
tree | 5c76d1640a2d27dff9dc61b2aa098e277fa992c3 /arch/arm/Kconfig | |
parent | cb2a2ebd4f93220936de721918ed9a3ca57cc5db (diff) | |
download | u-boot-c11f0d88ba462976335a4990a30a99d1d0b49195.tar.gz |
coccinelle: adjust NULL check before free()
The free() function checks if its argument is NULL. We should avoid
checking for NULL before calling free like in
if (result->tds)
free(result->tds);
The list of relevant functions differs between Linux and U-Boot, e.g. we
use free().
Adjust the list of relevant functions.
Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Diffstat (limited to 'arch/arm/Kconfig')
0 files changed, 0 insertions, 0 deletions