crypto: skcipher - Use crypto_request_complete
Use the crypto_request_complete helper instead of calling the completion function directly. Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
parent
ba354b2fdb
commit
d5770679ad
|
@ -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)
|
||||
{
|
||||
req->base.complete(&req->base, err);
|
||||
crypto_request_complete(&req->base, err);
|
||||
}
|
||||
|
||||
int crypto_grab_skcipher(struct crypto_skcipher_spawn *spawn,
|
||||
|
|
Loading…
Reference in New Issue