Commit d5770679 authored by Herbert Xu's avatar Herbert Xu

crypto: skcipher - Use crypto_request_complete

Use the crypto_request_complete helper instead of calling the
completion function directly.
Signed-off-by: default avatarHerbert Xu <herbert@gondor.apana.org.au>
parent ba354b2f
...@@ -94,7 +94,7 @@ static inline void *skcipher_instance_ctx(struct skcipher_instance *inst) ...@@ -94,7 +94,7 @@ static inline void *skcipher_instance_ctx(struct skcipher_instance *inst)
static inline void skcipher_request_complete(struct skcipher_request *req, int err) static inline void skcipher_request_complete(struct skcipher_request *req, int err)
{ {
req->base.complete(&req->base, err); crypto_request_complete(&req->base, err);
} }
int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn, int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn,
......
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