summaryrefslogtreecommitdiffstats
path: root/crypto/rmd160.c
diff options
context:
space:
mode:
authorGeliang Tang <geliangtang@gmail.com>2017-08-28 16:00:07 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2017-09-22 11:43:28 +0200
commit52872f5288ea38ab9e2bb352a47b71051f7aefcc (patch)
tree683ade8bd93898f8c4f6967be107104cd579a86a /crypto/rmd160.c
parentcrypto: Use PTR_ERR_ZERO (diff)
downloadlinux-52872f5288ea38ab9e2bb352a47b71051f7aefcc.tar.xz
linux-52872f5288ea38ab9e2bb352a47b71051f7aefcc.zip
crypto: drop unnecessary return statements
Fix checkpatch.pl warnings: WARNING: void function return statements are not generally useful FILE: crypto/rmd128.c:218: FILE: crypto/rmd160.c:261: FILE: crypto/rmd256.c:233: FILE: crypto/rmd320.c:280: FILE: crypto/tcrypt.c:385: FILE: drivers/crypto/ixp4xx_crypto.c:538: FILE: drivers/crypto/marvell/cesa.c:81: FILE: drivers/crypto/ux500/cryp/cryp_core.c:1755: Signed-off-by: Geliang Tang <geliangtang@gmail.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/rmd160.c')
-rw-r--r--crypto/rmd160.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/rmd160.c b/crypto/rmd160.c
index de585e51d455..5f3e6ea35268 100644
--- a/crypto/rmd160.c
+++ b/crypto/rmd160.c
@@ -256,8 +256,6 @@ static void rmd160_transform(u32 *state, const __le32 *in)
state[3] = state[4] + aa + bbb;
state[4] = state[0] + bb + ccc;
state[0] = ddd;
-
- return;
}
static int rmd160_init(struct shash_desc *desc)