diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2015-07-07 23:55:30 -0400 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2015-07-14 02:56:44 -0400 |
commit | 31d228cc644034da97394bbadb2dc55ad9bcddb9 (patch) | |
tree | 46b99bd1a31c3e56fbb10195355745e783e5580e /crypto/algapi.c | |
parent | 773bb50625cd23c7711bcd1410fffe8a0cab121b (diff) |
crypto: api - Remove unused __crypto_dequeue_request
The function __crypto_dequeue_request is completely unused.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'crypto/algapi.c')
-rw-r--r-- | crypto/algapi.c | 11 |
1 files changed, 2 insertions, 9 deletions
diff --git a/crypto/algapi.c b/crypto/algapi.c index 3c079b7f23f6..ceebfcf260fc 100644 --- a/crypto/algapi.c +++ b/crypto/algapi.c | |||
@@ -892,7 +892,7 @@ out: | |||
892 | } | 892 | } |
893 | EXPORT_SYMBOL_GPL(crypto_enqueue_request); | 893 | EXPORT_SYMBOL_GPL(crypto_enqueue_request); |
894 | 894 | ||
895 | void *__crypto_dequeue_request(struct crypto_queue *queue, unsigned int offset) | 895 | struct crypto_async_request *crypto_dequeue_request(struct crypto_queue *queue) |
896 | { | 896 | { |
897 | struct list_head *request; | 897 | struct list_head *request; |
898 | 898 | ||
@@ -907,14 +907,7 @@ void *__crypto_dequeue_request(struct crypto_queue *queue, unsigned int offset) | |||
907 | request = queue->list.next; | 907 | request = queue->list.next; |
908 | list_del(request); | 908 | list_del(request); |
909 | 909 | ||
910 | return (char *)list_entry(request, struct crypto_async_request, list) - | 910 | return list_entry(request, struct crypto_async_request, list); |
911 | offset; | ||
912 | } | ||
913 | EXPORT_SYMBOL_GPL(__crypto_dequeue_request); | ||
914 | |||
915 | struct crypto_async_request *crypto_dequeue_request(struct crypto_queue *queue) | ||
916 | { | ||
917 | return __crypto_dequeue_request(queue, 0); | ||
918 | } | 911 | } |
919 | EXPORT_SYMBOL_GPL(crypto_dequeue_request); | 912 | EXPORT_SYMBOL_GPL(crypto_dequeue_request); |
920 | 913 | ||