summaryrefslogtreecommitdiffstats
path: root/arch/microblaze
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-05-02 20:24:26 +0200
committerHerbert Xu <herbert@gondor.apana.org.au>2020-05-08 07:32:17 +0200
commit2aaba014b55be46affcae78edff356c5e3389081 (patch)
treeab82c7f657ad87bfb6f941781b0738ba8d6550c6 /arch/microblaze
parentcrypto: lib/sha1 - rename "sha" to "sha1" (diff)
downloadlinux-2aaba014b55be46affcae78edff356c5e3389081.tar.xz
linux-2aaba014b55be46affcae78edff356c5e3389081.zip
crypto: lib/sha1 - remove unnecessary includes of linux/cryptohash.h
<linux/cryptohash.h> sounds very generic and important, like it's the header to include if you're doing cryptographic hashing in the kernel. But actually it only includes the library implementation of the SHA-1 compression function (not even the full SHA-1). This should basically never be used anymore; SHA-1 is no longer considered secure, and there are much better ways to do cryptographic hashing in the kernel. Most files that include this header don't actually need it. So in preparation for removing it, remove all these unneeded includes of it. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'arch/microblaze')
-rw-r--r--arch/microblaze/kernel/microblaze_ksyms.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/microblaze/kernel/microblaze_ksyms.c b/arch/microblaze/kernel/microblaze_ksyms.c
index 92e12c2c2ec1..51c43ee5e380 100644
--- a/arch/microblaze/kernel/microblaze_ksyms.c
+++ b/arch/microblaze/kernel/microblaze_ksyms.c
@@ -6,7 +6,6 @@
#include <linux/export.h>
#include <linux/string.h>
-#include <linux/cryptohash.h>
#include <linux/delay.h>
#include <linux/in6.h>
#include <linux/syscalls.h>