Skip to content

Commit d126edd

Browse files
gscuiherbertx
authored andcommitted
crypto: aead - Remove unused inline functions from aead
The aead_enqueue_request, aead_dequeue_request and aead_get_backlog are no longer used since commit 04a4616 ("crypto: omap-aes-gcm - convert to use crypto engine"), their functinoality has been replaced by crypto engine, so remove them. Signed-off-by: Gaosheng Cui <cuigaosheng1@huawei.com> Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
1 parent 5e9578b commit d126edd

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

include/crypto/internal/aead.h

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -114,31 +114,6 @@ static inline void aead_init_queue(struct aead_queue *queue,
114114
crypto_init_queue(&queue->base, max_qlen);
115115
}
116116

117-
static inline int aead_enqueue_request(struct aead_queue *queue,
118-
struct aead_request *request)
119-
{
120-
return crypto_enqueue_request(&queue->base, &request->base);
121-
}
122-
123-
static inline struct aead_request *aead_dequeue_request(
124-
struct aead_queue *queue)
125-
{
126-
struct crypto_async_request *req;
127-
128-
req = crypto_dequeue_request(&queue->base);
129-
130-
return req ? container_of(req, struct aead_request, base) : NULL;
131-
}
132-
133-
static inline struct aead_request *aead_get_backlog(struct aead_queue *queue)
134-
{
135-
struct crypto_async_request *req;
136-
137-
req = crypto_get_backlog(&queue->base);
138-
139-
return req ? container_of(req, struct aead_request, base) : NULL;
140-
}
141-
142117
static inline unsigned int crypto_aead_alg_chunksize(struct aead_alg *alg)
143118
{
144119
return alg->chunksize;

0 commit comments

Comments
 (0)