linux-stable/lib/zlib_dfltcc
Tom Rix e89bd9e7d8 lib/zlib: remove redundation assignement of avail_in dfltcc_gdht()
cppcheck reports
lib/zlib_dfltcc/dfltcc_deflate.c:65:21: warning: Redundant assignment of 'avail_in' to itself. [selfAssignment]
    size_t avail_in = avail_in = strm->avail_in;

Only setting avail_in once is needed.

Link: https://lkml.kernel.org/r/20230128165048.1245792-1-trix@redhat.com
Fixes: aa5b395b69 ("lib/zlib: add s390 hardware support for kernel zlib_deflate")
Signed-off-by: Tom Rix <trix@redhat.com>
Acked-by: Ilya Leoshkevich <iii@linux.ibm.com>
Acked-by: Mikhail Zaslonko <zaslonko@linux.ibm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
2023-02-02 22:50:10 -08:00
..
dfltcc.c lib/zlib: Split deflate and inflate states for DFLTCC 2023-02-02 22:50:09 -08:00
dfltcc.h lib/zlib: Split deflate and inflate states for DFLTCC 2023-02-02 22:50:09 -08:00
dfltcc_deflate.c lib/zlib: remove redundation assignement of avail_in dfltcc_gdht() 2023-02-02 22:50:10 -08:00
dfltcc_deflate.h lib/zlib: Split deflate and inflate states for DFLTCC 2023-02-02 22:50:09 -08:00
dfltcc_inflate.c lib/zlib: DFLTCC always switch to software inflate for Z_PACKET_FLUSH option 2023-02-02 22:50:09 -08:00
dfltcc_inflate.h lib/zlib: Split deflate and inflate states for DFLTCC 2023-02-02 22:50:09 -08:00
dfltcc_util.h lib/zlib: add zlib_deflate_dfltcc_enabled() function 2020-01-31 10:30:40 -08:00
Makefile zlib: move EXPORT_SYMBOL() and MODULE_LICENSE() out of dfltcc_syms.c 2020-12-29 15:36:49 -08:00