summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2020-12-23 00:09:52 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-05-30 09:33:25 +0200
commite467a55bd006be15200f8f533929bc491ccb28f0 (patch)
tree5e2faa8ef3c885837124981d5ed45a1cd71d3e05 /crypto
parent198a19d7ee95186fd2cfd69326c3b5ff6e63f13c (diff)
downloadlinux-stable-e467a55bd006be15200f8f533929bc491ccb28f0.tar.gz
linux-stable-e467a55bd006be15200f8f533929bc491ccb28f0.tar.bz2
linux-stable-e467a55bd006be15200f8f533929bc491ccb28f0.zip
crypto: blake2s - remove unneeded includes
commit df412e7efda1e2c5b5fcb06701bba77434cbd1e8 upstream. It doesn't make sense for the generic implementation of BLAKE2s to include <crypto/internal/simd.h> and <linux/jump_label.h>, as these are things that would only be useful in an architecture-specific implementation. Remove these unnecessary includes. Acked-by: Ard Biesheuvel <ardb@kernel.org> Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au> Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'crypto')
-rw-r--r--crypto/blake2s_generic.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/crypto/blake2s_generic.c b/crypto/blake2s_generic.c
index e3aa6e7ff3d8..b89536c3671c 100644
--- a/crypto/blake2s_generic.c
+++ b/crypto/blake2s_generic.c
@@ -4,11 +4,9 @@
*/
#include <crypto/internal/blake2s.h>
-#include <crypto/internal/simd.h>
#include <crypto/internal/hash.h>
#include <linux/types.h>
-#include <linux/jump_label.h>
#include <linux/kernel.h>
#include <linux/module.h>