diff options
author | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-12 13:36:53 +0800 |
---|---|---|
committer | Herbert Xu <herbert@gondor.apana.org.au> | 2025-04-16 15:16:20 +0800 |
commit | 78e2846aa4b29b44368377842d2369e0198022b7 (patch) | |
tree | 347823e8a214319e8d1be6b80f337e3e785177b0 | |
parent | 5976fe19e240a681b5dd13362c8507e4c66b466b (diff) |
crypto: deflate - Remove request chaining
Remove request chaining support from deflate.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
-rw-r--r-- | crypto/deflate.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/crypto/deflate.c b/crypto/deflate.c index bc76c343a0cf..57d7af4dfdfb 100644 --- a/crypto/deflate.c +++ b/crypto/deflate.c @@ -111,7 +111,6 @@ static int deflate_compress(struct acomp_req *req) { struct crypto_acomp_stream *s; struct deflate_stream *ds; - struct acomp_req *r2; int err; s = crypto_acomp_lock_stream_bh(&deflate_streams); @@ -126,12 +125,6 @@ static int deflate_compress(struct acomp_req *req) } err = deflate_compress_one(req, ds); - req->base.err = err; - - list_for_each_entry(r2, &req->base.list, base.list) { - zlib_deflateReset(&ds->stream); - r2->base.err = deflate_compress_one(r2, ds); - } out: crypto_acomp_unlock_stream_bh(s); @@ -199,7 +192,6 @@ static int deflate_decompress(struct acomp_req *req) { struct crypto_acomp_stream *s; struct deflate_stream *ds; - struct acomp_req *r2; int err; s = crypto_acomp_lock_stream_bh(&deflate_streams); @@ -212,12 +204,6 @@ static int deflate_decompress(struct acomp_req *req) } err = deflate_decompress_one(req, ds); - req->base.err = err; - - list_for_each_entry(r2, &req->base.list, base.list) { - zlib_inflateReset(&ds->stream); - r2->base.err = deflate_decompress_one(r2, ds); - } out: crypto_acomp_unlock_stream_bh(s); |