drivers/crypto/fsl: remove redundant logical contraint
authorxypron.glpk@gmx.de <xypron.glpk@gmx.de>
Sat, 15 Apr 2017 14:37:54 +0000 (16:37 +0200)
committerTom Rini <trini@konsulko.com>
Tue, 18 Apr 2017 14:29:25 +0000 (10:29 -0400)
commitd1710561b0c4b68041d0f51e8fc5cfe3c2c15bb9
tree91160df238c61aae75c857874ed13dad09c77ba1
parent7a931b958e4f942b16d3f5d31dc4c0982fa186c8
drivers/crypto/fsl: remove redundant logical contraint

'A || (!A && B)' is equivalent to 'A || B'.
Let's reduce the complexity of the statement in start_jr0().

The problem was indicated by cppcheck.

Signed-off-by: Heinrich Schuchardt <xypron.glpk@gmx.de>
Reviewed-by: York Sun <york.sun@nxp.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
drivers/crypto/fsl/jr.c