Skip to content

Commit

Permalink
crypto: md5 - remove unused macros
Browse files Browse the repository at this point in the history
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 3c7eb3c ("md5: remove from
lib and only live in crypto").

Signed-off-by: YueHaibing <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
  • Loading branch information
YueHaibing authored and herbertx committed Feb 28, 2020
1 parent 6ff78ff commit 2fdddaf
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions crypto/md5.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 2fdddaf

Please sign in to comment.