summaryrefslogtreecommitdiff
path: root/lib/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2022-07-25 21:36:36 +0300
committerHerbert Xu <herbert@gondor.apana.org.au>2022-08-19 13:39:34 +0300
commit4a772c40006ad488a14acedd0cc83c6f574f16fc (patch)
tree1a97239c727d33ba4d9cd7ac40b06f5135a82872 /lib/crypto
parent6e78ad0bb45dd20b3c1a56c72a32e1d82f98b422 (diff)
downloadlinux-4a772c40006ad488a14acedd0cc83c6f574f16fc.tar.xz
crypto: lib - remove __HAVE_ARCH_CRYPTO_MEMNEQ
No architecture actually defines this, so it's unneeded. Signed-off-by: Eric Biggers <ebiggers@google.com> Reviewed-by: Jason A. Donenfeld <Jason@zx2c4.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'lib/crypto')
-rw-r--r--lib/crypto/memneq.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/crypto/memneq.c b/lib/crypto/memneq.c
index d1e8c86fbb0f..243d8677cc51 100644
--- a/lib/crypto/memneq.c
+++ b/lib/crypto/memneq.c
@@ -63,8 +63,6 @@
#include <crypto/algapi.h>
#include <linux/module.h>
-#ifndef __HAVE_ARCH_CRYPTO_MEMNEQ
-
/* Generic path for arbitrary size */
static inline unsigned long
__crypto_memneq_generic(const void *a, const void *b, size_t size)
@@ -173,5 +171,3 @@ noinline unsigned long __crypto_memneq(const void *a, const void *b,
}
}
EXPORT_SYMBOL(__crypto_memneq);
-
-#endif /* __HAVE_ARCH_CRYPTO_MEMNEQ */