mirror of
https://github.com/u-boot/u-boot.git
synced 2024-11-24 04:34:22 +08:00
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>
This commit is contained in:
parent
c99e87f828
commit
8bb7496ef9
@ -471,8 +471,7 @@ cleanup_gate:
|
||||
cleanup_div:
|
||||
free(div);
|
||||
cleanup_mux:
|
||||
if (mux)
|
||||
free(mux);
|
||||
free(mux);
|
||||
return comp;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user