projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
906b492
)
staging: crypto: skein: remove braces from single-statement block
author
Jason Cooper
<jason@lakedaemon.net>
Mon, 24 Mar 2014 01:49:16 +0000
(
01:49
+0000)
committer
Greg Kroah-Hartman
<gregkh@linuxfoundation.org>
Fri, 18 Apr 2014 22:47:43 +0000
(15:47 -0700)
Signed-off-by: Jason Cooper <jason@lakedaemon.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/skein/skeinApi.c
patch
|
blob
|
history
diff --git
a/drivers/staging/skein/skeinApi.c
b/drivers/staging/skein/skeinApi.c
index f0015d5b10f5ff6ef2cb51a3396d3e0191a94e7d..dd109bf6f7b9f25dc674e5dbcd0eaae8fab04276 100644
(file)
--- 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);
/*