Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

crypto: deflate - Remove request chaining

Remove request chaining support from deflate.

Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>

-14
-14
crypto/deflate.c
··· 111 111 { 112 112 struct crypto_acomp_stream *s; 113 113 struct deflate_stream *ds; 114 - struct acomp_req *r2; 115 114 int err; 116 115 117 116 s = crypto_acomp_lock_stream_bh(&deflate_streams); ··· 125 126 } 126 127 127 128 err = deflate_compress_one(req, ds); 128 - req->base.err = err; 129 - 130 - list_for_each_entry(r2, &req->base.list, base.list) { 131 - zlib_deflateReset(&ds->stream); 132 - r2->base.err = deflate_compress_one(r2, ds); 133 - } 134 129 135 130 out: 136 131 crypto_acomp_unlock_stream_bh(s); ··· 192 199 { 193 200 struct crypto_acomp_stream *s; 194 201 struct deflate_stream *ds; 195 - struct acomp_req *r2; 196 202 int err; 197 203 198 204 s = crypto_acomp_lock_stream_bh(&deflate_streams); ··· 204 212 } 205 213 206 214 err = deflate_decompress_one(req, ds); 207 - req->base.err = err; 208 - 209 - list_for_each_entry(r2, &req->base.list, base.list) { 210 - zlib_inflateReset(&ds->stream); 211 - r2->base.err = deflate_decompress_one(r2, ds); 212 - } 213 215 214 216 out: 215 217 crypto_acomp_unlock_stream_bh(s);