diff options
Diffstat (limited to 'crypto/shash.c')
-rw-r--r-- | crypto/shash.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/shash.c b/crypto/shash.c index d5a2b619c55f..13a0dc150a4d 100644 --- a/crypto/shash.c +++ b/crypto/shash.c | |||
@@ -442,8 +442,6 @@ static unsigned int crypto_shash_ctxsize(struct crypto_alg *alg, u32 type, | |||
442 | static int crypto_shash_init_tfm(struct crypto_tfm *tfm, | 442 | static int crypto_shash_init_tfm(struct crypto_tfm *tfm, |
443 | const struct crypto_type *frontend) | 443 | const struct crypto_type *frontend) |
444 | { | 444 | { |
445 | if (frontend->type != CRYPTO_ALG_TYPE_SHASH) | ||
446 | return -EINVAL; | ||
447 | return 0; | 445 | return 0; |
448 | } | 446 | } |
449 | 447 | ||