diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-01-31 09:02:50 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-13 11:35:14 +0100 |
commit | 234650bd22b4a875a359c83066fd723704aaa7b2 (patch) | |
tree | 0646e5e3ad3c2ed6f89000f937f316d1e04bdf36 /drivers/crypto | |
parent | crypto: sahara - Use request_complete helpers (diff) | |
download | linux-234650bd22b4a875a359c83066fd723704aaa7b2.tar.xz linux-234650bd22b4a875a359c83066fd723704aaa7b2.zip |
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>
Diffstat (limited to 'drivers/crypto')
-rw-r--r-- | drivers/crypto/talitos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/crypto/talitos.c b/drivers/crypto/talitos.c index d62ec68e3183..bb27f011cf31 100644 --- a/drivers/crypto/talitos.c +++ b/drivers/crypto/talitos.c @@ -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); } /* |