]> git.baikalelectronics.ru Git - uboot.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)
commit574eaf67419ac15702c73cb5c2f9721dcfe354cc
tree5dbba25d678264a26f744a52af4d777f7a4ee805
parenta9d3747b7cac31982a77de48cf11f6f577780140
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