lib/crypto: md5: remove unused header
Subsystems (2)
PATCH v3 1/1 lib/crypto: md5: remove unused header
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 <[email protected]>
---
Changes in v3:
- Update the commit message to accurately describe memory accesses.
lib/crypto/md5.c | 1 - 1 file changed, 1 deletion(-)
lib/crypto/md5.c +0 -1
@@ -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 = {
Signature · 1 line
2.53.0
Quoted 10 lines · Mohamad Raizudeen
The
<linux/unaligned.h>header is included but never actually used. The code handles memory accesses usingmemcpy()instead of the unaligned helpers.Remove this unused header to avoid false dependencies.
Signed-off-by Mohamad Raizudeen <[email protected]>---
Changes in v3:
- Update the commit message to accurately describe memory accesses.
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/ebiggers/linux.git/log/?h=libcrypto-next
- Eric