aboutsummaryrefslogtreecommitdiffstats
path: root/include/crypto/internal/hash.h
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-05-20 09:55:15 -0700
committerHerbert Xu <herbert@gondor.apana.org.au>2019-05-30 15:28:41 +0800
commit5e99a0a7a9468a18efec66ee97f1e34886e55550 (patch)
tree9c4bc051bf681d1948bd3abf84014824e8cc5011 /include/crypto/internal/hash.h
parentcrypto: hash - remove CRYPTO_ALG_TYPE_DIGEST (diff)
downloadlinux-dev-5e99a0a7a9468a18efec66ee97f1e34886e55550.tar.xz
linux-dev-5e99a0a7a9468a18efec66ee97f1e34886e55550.zip
crypto: algapi - remove crypto_tfm_in_queue()
Remove the crypto_tfm_in_queue() function, which is unused. Signed-off-by: Eric Biggers <ebiggers@google.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'include/crypto/internal/hash.h')
-rw-r--r--include/crypto/internal/hash.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/include/crypto/internal/hash.h b/include/crypto/internal/hash.h
index e355fdb642a9..669b4ee5c16d 100644
--- a/include/crypto/internal/hash.h
+++ b/include/crypto/internal/hash.h
@@ -201,12 +201,6 @@ static inline struct ahash_request *ahash_dequeue_request(
return ahash_request_cast(crypto_dequeue_request(queue));
}
-static inline int ahash_tfm_in_queue(struct crypto_queue *queue,
- struct crypto_ahash *tfm)
-{
- return crypto_tfm_in_queue(queue, crypto_ahash_tfm(tfm));
-}
-
static inline void *crypto_shash_ctx(struct crypto_shash *tfm)
{
return crypto_tfm_ctx(&tfm->base);