提交 4cc01c7f 编写于 作者: H Herbert Xu

crypto: acompress - Use crypto_request_complete

Use the crypto_request_complete helper instead of calling the
completion function directly.
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
Reviewed-by: NGiovanni Cabiddu <giovanni.cabiddu@intel.com>
Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
上级 256f9e53
...@@ -28,7 +28,7 @@ static inline void *acomp_tfm_ctx(struct crypto_acomp *tfm) ...@@ -28,7 +28,7 @@ static inline void *acomp_tfm_ctx(struct crypto_acomp *tfm)
static inline void acomp_request_complete(struct acomp_req *req, static inline void acomp_request_complete(struct acomp_req *req,
int err) int err)
{ {
req->base.complete(&req->base, err); crypto_request_complete(&req->base, err);
} }
static inline const char *acomp_alg_name(struct crypto_acomp *tfm) static inline const char *acomp_alg_name(struct crypto_acomp *tfm)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册