Commit 31d228cc authored by Herbert Xu's avatar Herbert Xu

crypto: api - Remove unused __crypto_dequeue_request

The function __crypto_dequeue_request is completely unused.
Signed-off-by: default avatarHerbert Xu <>
parent 773bb506
......@@ -892,7 +892,7 @@ out:
void *__crypto_dequeue_request(struct crypto_queue *queue, unsigned int offset)
struct crypto_async_request *crypto_dequeue_request(struct crypto_queue *queue)
struct list_head *request;
......@@ -907,14 +907,7 @@ void *__crypto_dequeue_request(struct crypto_queue *queue, unsigned int offset)
request = queue->;
return (char *)list_entry(request, struct crypto_async_request, list) -
struct crypto_async_request *crypto_dequeue_request(struct crypto_queue *queue)
return __crypto_dequeue_request(queue, 0);
return list_entry(request, struct crypto_async_request, list);
......@@ -180,7 +180,6 @@ struct crypto_instance *crypto_alloc_instance(const char *name,
void crypto_init_queue(struct crypto_queue *queue, unsigned int max_qlen);
int crypto_enqueue_request(struct crypto_queue *queue,
struct crypto_async_request *request);
void *__crypto_dequeue_request(struct crypto_queue *queue, unsigned int offset);
struct crypto_async_request *crypto_dequeue_request(struct crypto_queue *queue);
int crypto_tfm_in_queue(struct crypto_queue *queue, struct crypto_tfm *tfm);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment