crypto: talitos - Use request_complete helpers

Use the request_complete helpers instead of calling the completion
function directly.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
This commit is contained in:
Herbert Xu 2023-01-31 16:02:50 +08:00
parent 555c566131
commit 234650bd22

View File

@ -1560,7 +1560,7 @@ static void skcipher_done(struct device *dev,
kfree(edesc);
areq->base.complete(&areq->base, err);
skcipher_request_complete(areq, err);
}
static int common_nonsnoop(struct talitos_edesc *edesc,
@ -1759,7 +1759,7 @@ static void ahash_done(struct device *dev,
kfree(edesc);
areq->base.complete(&areq->base, err);
ahash_request_complete(areq, err);
}
/*