[U-Boot] drivers/crypto/fsl: remove redundant logical contraint

Tom Rini trini at konsulko.com
Wed Apr 19 13:04:17 UTC 2017


On Sat, Apr 15, 2017 at 04:37:54PM +0200, xypron.glpk at gmx.de wrote:

> '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 at gmx.de>
> Reviewed-by: York Sun <york.sun at nxp.com>
> Reviewed-by: Simon Glass <sjg at chromium.org>

Applied to u-boot/master, thanks!

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20170419/a4e60feb/attachment.sig>


More information about the U-Boot mailing list