[U-Boot] [PATCH 1/1] ubifs: no NULL check needed before free

Heiko Schocher hs at denx.de
Mon Nov 20 16:27:14 UTC 2017


Hello Heinrich,

Am 08.11.2017 um 22:28 schrieb Heinrich Schuchardt:
> kfree() calls free.
> free() checks if the parameter is NULL.
> 
> Signed-off-by: Heinrich Schuchardt <xypron.glpk at gmx.de>
> ---
>   fs/ubifs/ubifs.c | 12 ++++--------
>   1 file changed, 4 insertions(+), 8 deletions(-)

applied to u-boot-ubi master

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,      Managing Director: Wolfgang Denk
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: +49-8142-66989-52   Fax: +49-8142-66989-80   Email: hs at denx.de


More information about the U-Boot mailing list