]> git.dujemihanovic.xyz Git - u-boot.git/commit
clk: kendryte: no need to check argument of free()
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Tue, 29 Sep 2020 19:52:12 +0000 (21:52 +0200)
committerAndes <uboot@andestech.com>
Mon, 26 Oct 2020 01:27:13 +0000 (09:27 +0800)
commit8bb7496ef9188493b548ceb03b741b8f6465c339
tree6244e07138c33bd0180d24c610c3477bb194ed4f
parentc99e87f82803500f9811b1e98926d9d25df35b38
clk: kendryte: no need to check argument of free()

free() checks if its argument is NULL. No need to check it twice.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: Sean Anderson <seanga2@gmail.com>
drivers/clk/kendryte/clk.c