summaryrefslogtreecommitdiffstats
path: root/crypto
diff options
context:
space:
mode:
authorEric Biggers <ebiggers@google.com>2019-05-20 12:55:15 -0400
committerHerbert Xu <herbert@gondor.apana.org.au>2019-05-30 03:28:41 -0400
commit5e99a0a7a9468a18efec66ee97f1e34886e55550 (patch)
tree9c4bc051bf681d1948bd3abf84014824e8cc5011 /crypto
parent84ede58dfcd1db6f04f71dd3ccd5328271b346da (diff)
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 'crypto')
-rw-r--r--crypto/algapi.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c
index 4c9c86b55738..7c51f45d1cf1 100644
--- a/crypto/algapi.c
+++ b/crypto/algapi.c
@@ -952,19 +952,6 @@ struct crypto_async_request *crypto_dequeue_request(struct crypto_queue *queue)
952} 952}
953EXPORT_SYMBOL_GPL(crypto_dequeue_request); 953EXPORT_SYMBOL_GPL(crypto_dequeue_request);
954 954
955int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm)
956{
957 struct crypto_async_request *req;
958
959 list_for_each_entry(req, &queue->list, list) {
960 if (req->tfm == tfm)
961 return 1;
962 }
963
964 return 0;
965}
966EXPORT_SYMBOL_GPL(crypto_tfm_in_queue);
967
968static inline void crypto_inc_byte(u8 *a, unsigned int size) 955static inline void crypto_inc_byte(u8 *a, unsigned int size)
969{ 956{
970 u8 *b = (a + size); 957 u8 *b = (a + size);