summaryrefslogtreecommitdiff
path: root/include/crypto/acompress.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/crypto/acompress.h')
-rw-r--r--include/crypto/acompress.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/crypto/acompress.h b/include/crypto/acompress.h
index 933c48a4855b..f1812e92d3e3 100644
--- a/include/crypto/acompress.h
+++ b/include/crypto/acompress.h
@@ -547,8 +547,7 @@ static inline struct acomp_req *acomp_request_on_stack_init(
{
struct acomp_req *req = (void *)buf;
- acomp_request_set_tfm(req, tfm);
- req->base.flags = CRYPTO_TFM_REQ_ON_STACK;
+ crypto_stack_request_init(&req->base, crypto_acomp_tfm(tfm));
return req;
}