From: Jason Cooper Date: Mon, 24 Mar 2014 01:49:16 +0000 (+0000) Subject: staging: crypto: skein: remove braces from single-statement block X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=7584a878712cce21d309e4caf1229b7f4345e8e9;p=GitHub%2FLineageOS%2FG12%2Fandroid_kernel_amlogic_linux-4.9.git staging: crypto: skein: remove braces from single-statement block Signed-off-by: Jason Cooper Signed-off-by: Greg Kroah-Hartman --- diff --git a/drivers/staging/skein/skeinApi.c b/drivers/staging/skein/skeinApi.c index f0015d5b10f5..dd109bf6f7b9 100644 --- a/drivers/staging/skein/skeinApi.c +++ b/drivers/staging/skein/skeinApi.c @@ -188,9 +188,9 @@ int skeinUpdateBits(struct skein_ctx *ctx, const u8 *msg, msgBitCnt == 0, SKEIN_FAIL); /* if number of bits is a multiple of bytes - that's easy */ - if ((msgBitCnt & 0x7) == 0) { + if ((msgBitCnt & 0x7) == 0) return skeinUpdate(ctx, msg, msgBitCnt >> 3); - } + skeinUpdate(ctx, msg, (msgBitCnt >> 3) + 1); /*