Re: [PATCH] ARM: OMAP2+: Delete an unnecessary kfree() call in omap_hsmmc_pdata_init()
From: Tony Lindgren
Date: Mon Aug 26 2019 - 12:20:55 EST
* Markus Elfring <Markus.Elfring@xxxxxx> [190826 06:31]:
> From: Markus Elfring <elfring@xxxxxxxxxxxxxxxxxxxxx>
> Date: Mon, 26 Aug 2019 15:05:31 +0200
>
> 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.
Applying into omap-for-v5.4/soc thanks.
Tony