summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2020-02-21 21:55:15 +0800
committerHerbert Xu <herbert@gondor.apana.org.au>2020-02-28 08:43:21 +0800
commit2fdddaf089ef4917e15eefacca2fa2e91e819683 (patch)
tree750e3db64d45333bee6eb7a174f65927de71b688 /crypto
parent6ff78ffaddd807cd458ec3fdcc714d3a79414e5e (diff)
downloadlinux-stable-2fdddaf089ef4917e15eefacca2fa2e91e819683.tar.gz
linux-stable-2fdddaf089ef4917e15eefacca2fa2e91e819683.tar.bz2
linux-stable-2fdddaf089ef4917e15eefacca2fa2e91e819683.zip
crypto: md5 - remove unused macros
crypto/md5.c:26:0: warning: macro "MD5_DIGEST_WORDS" is not used [-Wunused-macros] crypto/md5.c:27:0: warning: macro "MD5_MESSAGE_BYTES" is not used [-Wunused-macros] They are never used since commit 3c7eb3cc8360 ("md5: remove from lib and only live in crypto"). Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/md5.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/crypto/md5.c b/crypto/md5.c
index 22dc60bc0437..72c0c46fb5ee 100644
--- a/crypto/md5.c
+++ b/crypto/md5.c
@@ -23,9 +23,6 @@
#include <linux/types.h>
#include <asm/byteorder.h>
-#define MD5_DIGEST_WORDS 4
-#define MD5_MESSAGE_BYTES 64
-
const u8 md5_zero_message_hash[MD5_DIGEST_SIZE] = {
0xd4, 0x1d, 0x8c, 0xd9, 0x8f, 0x00, 0xb2, 0x04,
0xe9, 0x80, 0x09, 0x98, 0xec, 0xf8, 0x42, 0x7e,