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

Simon Glass sjg at chromium.org
Sun Apr 16 19:34:09 UTC 2017


On 15 April 2017 at 08:37, Heinrich Schuchardt <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>
> ---
>  drivers/crypto/fsl/jr.c | 3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list