* [PATCH -next] crypto: md5: remove unused macros
@ 2020-02-21 13:55 YueHaibing
2020-02-28 0:53 ` Herbert Xu
0 siblings, 1 reply; 2+ messages in thread
From: YueHaibing @ 2020-02-21 13:55 UTC (permalink / raw)
To: herbert, davem; +Cc: linux-crypto, linux-kernel, YueHaibing
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>
---
crypto/md5.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/crypto/md5.c b/crypto/md5.c
index 22dc60b..72c0c46 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,
--
2.7.4
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH -next] crypto: md5: remove unused macros
2020-02-21 13:55 [PATCH -next] crypto: md5: remove unused macros YueHaibing
@ 2020-02-28 0:53 ` Herbert Xu
0 siblings, 0 replies; 2+ messages in thread
From: Herbert Xu @ 2020-02-28 0:53 UTC (permalink / raw)
To: YueHaibing; +Cc: davem, linux-crypto, linux-kernel
On Fri, Feb 21, 2020 at 09:55:15PM +0800, YueHaibing wrote:
> 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>
> ---
> crypto/md5.c | 3 ---
> 1 file changed, 3 deletions(-)
Patch applied. Thanks.
--
Email: Herbert Xu <herbert@gondor.apana.org.au>
Home Page: http://gondor.apana.org.au/~herbert/
PGP Key: http://gondor.apana.org.au/~herbert/pubkey.txt
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-28 0:53 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-02-21 13:55 [PATCH -next] crypto: md5: remove unused macros YueHaibing
2020-02-28 0:53 ` Herbert Xu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).