Skip to content
Commit ba28236e authored by Markus Elfring's avatar Markus Elfring Committed by Geert Uytterhoeven
Browse files

clk: renesas: mstp: Delete unnecessary kfree() in cpg_mstp_clocks_init()



A NULL pointer would be passed to a call of the function kfree()
directly after a call of the function kzalloc() failed at one place.
Remove this superfluous function call.

This issue was detected by using the Coccinelle software.

Signed-off-by: default avatarMarkus Elfring <elfring@users.sourceforge.net>
Link: https://lore.kernel.org/r/e66b822b-026b-29cc-e461-6334aafd1d30@web.de


Signed-off-by: default avatarGeert Uytterhoeven <geert+renesas@glider.be>
parent 54ce17dd
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment