]> git.dujemihanovic.xyz Git - u-boot.git/commit
arm: bcm235xx: avoid possible NULL dereference
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sun, 30 Jul 2017 18:15:51 +0000 (20:15 +0200)
committerTom Rini <trini@konsulko.com>
Sun, 13 Aug 2017 19:17:26 +0000 (15:17 -0400)
commitb69a0849e75e5adff081d1f0f5557da03d703482
tree5dbba25d678264a26f744a52af4d777f7a4ee805
parent9730bcdc2f6c237fde66b7d81681e380ef0bdedf
arm: bcm235xx: avoid possible NULL dereference

It does not make sense to first dereference c and then
check if it is NULL.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
arch/arm/cpu/armv7/bcm235xx/clk-core.c