diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2023-01-31 06:44:05 +0100 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2023-02-10 10:20:19 +0100 |
commit | acc3f5504489691dabc6199e294b40aabe8eccfa (patch) | |
tree | 1593a36903288ace712afb73fb1693c3da1b81b3 /drivers/crypto/inside-secure/safexcel.c | |
parent | crypto: x86/blowfish - Eliminate use of SYM_TYPED_FUNC_START in asm (diff) | |
download | linux-acc3f5504489691dabc6199e294b40aabe8eccfa.tar.xz linux-acc3f5504489691dabc6199e294b40aabe8eccfa.zip |
crypto: safexcel - Use crypto_wait_req
This patch replaces the custom crypto completion function with
crypto_req_done.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
Diffstat (limited to 'drivers/crypto/inside-secure/safexcel.c')
-rw-r--r-- | drivers/crypto/inside-secure/safexcel.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/drivers/crypto/inside-secure/safexcel.c b/drivers/crypto/inside-secure/safexcel.c index ae6110376e21..baff0123f919 100644 --- a/drivers/crypto/inside-secure/safexcel.c +++ b/drivers/crypto/inside-secure/safexcel.c @@ -970,17 +970,6 @@ void safexcel_complete(struct safexcel_crypto_priv *priv, int ring) } while (!cdesc->last_seg); } -void safexcel_inv_complete(struct crypto_async_request *req, int error) -{ - struct safexcel_inv_result *result = req->data; - - if (error == -EINPROGRESS) - return; - - result->error = error; - complete(&result->completion); -} - int safexcel_invalidate_cache(struct crypto_async_request *async, struct safexcel_crypto_priv *priv, dma_addr_t ctxr_dma, int ring) |