All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3] lib/crypto: md5: remove unused header
@ 2026-10-16  2:35 Mohamad Raizudeen
  2026-10-16  7:29 ` Eric Biggers
  0 siblings, 1 reply; 2+ messages in thread
From: Mohamad Raizudeen @ 2026-10-16  2:35 UTC (permalink / raw)
  To: ebiggers, ardb, herbert
  Cc: Jason, skhan, me, jkoolstra, linux-crypto, linux-kernel,
	Mohamad Raizudeen

The `<linux/unaligned.h>` header is included but never actually used.
The code handles memory accesses using memcpy() instead of the unaligned
helpers.

Remove this unused header to avoid false dependencies.

Signed-off-by: Mohamad Raizudeen <raizudeen.kerneldev@gmail.com>
---
Changes in v3:
- Update the commit message to accurately describe memory accesses.

 lib/crypto/md5.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lib/crypto/md5.c b/lib/crypto/md5.c
index 3d2b017a0525..ded7ccd1a5fc 100644
--- a/lib/crypto/md5.c
+++ b/lib/crypto/md5.c
@@ -16,7 +16,6 @@
 #include <linux/kernel.h>
 #include <linux/module.h>
 #include <linux/string.h>
-#include <linux/unaligned.h>
 #include <linux/wordpart.h>
 
 static const struct md5_block_state md5_iv = {
-- 
2.53.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2026-10-16  7:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-10-16  2:35 [PATCH v3] lib/crypto: md5: remove unused header Mohamad Raizudeen
2026-10-16  7:29 ` Eric Biggers

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.