ARM: OMAP2+: Delete an unnecessary kfree() call in omap_hsmmc_pdata_init()
authorMarkus Elfring <elfring@users.sourceforge.net>
Mon, 26 Aug 2019 13:05:31 +0000 (15:05 +0200)
committerTony Lindgren <tony@atomide.com>
Mon, 26 Aug 2019 15:59:48 +0000 (08:59 -0700)
commit50f57ef83d836d727902a6a7e70cca61b0d02655
treeffb876df5ddf7aac9e0000fdaec3d8b406ca7c21
parentccf4975dca233b1d6a74752d6ab35c239edc0d58
ARM: OMAP2+: Delete an unnecessary kfree() call in omap_hsmmc_pdata_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: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/hsmmc.c