]> git.sur5r.net Git - u-boot/commit
arm64: zynqmp: remove unnecessary logical constraint
authorHeinrich Schuchardt <xypron.glpk@gmx.de>
Thu, 12 Oct 2017 23:14:27 +0000 (01:14 +0200)
committerMichal Simek <michal.simek@xilinx.com>
Tue, 28 Nov 2017 14:53:07 +0000 (15:53 +0100)
commit549d684d4ef2d4fcfe4f5b9b3eb3954270e7e4a4
tree96ffd31b6be8dfe7311d950e659be4dee061ea58
parent73a01d90c0b2ed2527283f289f73d69ef52cafa5
arm64: zynqmp: remove unnecessary logical constraint

In

if (a || b)
else if (!a)

the constraint (!a) is always true if else is reached and
can be removed.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Signed-off-by: Michal Simek <michal.simek@xilinx.com>
arch/arm/cpu/armv8/zynqmp/cpu.c