summaryrefslogtreecommitdiffstats
path: root/crypto/sha1.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/sha1.c')
-rw-r--r--crypto/sha1.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/crypto/sha1.c b/crypto/sha1.c
index a2ca191899..94d56c3e46 100644
--- a/crypto/sha1.c
+++ b/crypto/sha1.c
@@ -328,12 +328,6 @@ static struct digest_algo m = {
static int sha1_digest_register(void)
{
- int ret;
-
- ret = digest_algo_register(&m);
- if (ret)
- return ret;
-
- return digest_hmac_register(&m, 64);
+ return digest_algo_register(&m);
}
device_initcall(sha1_digest_register);