summaryrefslogtreecommitdiff
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
commita81be6b6c95e120577546f937a99e28da80fdcb0 (patch)
treeacb79f6808a98f01b70461e2b5daf72cc6067bc4
parentb4ad8361c18257ab20af0ac81f8cf09c2eaec14c (diff)
downloadlinux-crypto-a81be6b6c95e120577546f937a99e28da80fdcb0.tar.gz
linux-crypto-a81be6b6c95e120577546f937a99e28da80fdcb0.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>
-rw-r--r--crypto/algapi.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c
index 4c9c86b5..7c51f45d 100644
--- a/crypto/algapi.c
+++ b/crypto/algapi.c
@@ -952,19 +952,6 @@ struct crypto_async_request *crypto_dequeue_request(struct crypto_queue *queue)
}
EXPORT_SYMBOL_GPL(crypto_dequeue_request);
-int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm)
-{
- struct crypto_async_request *req;
-
- list_for_each_entry(req, &queue->list, list) {
- if (req->tfm == tfm)
- return 1;
- }
-
- return 0;
-}
-EXPORT_SYMBOL_GPL(crypto_tfm_in_queue);
-
static inline void crypto_inc_byte(u8 *a, unsigned int size)
{
u8 *b = (a + size);