summaryrefslogtreecommitdiffstats
path: root/tools/vm
diff options
context:
space:
mode:
authorTom Rix <trix@redhat.com>2023-01-28 08:50:48 -0800
committerAndrew Morton <akpm@linux-foundation.org>2023-02-02 22:50:10 -0800
commite89bd9e7d8eb63a183040eaf0c9640fdb34ec47a (patch)
tree5d49a85baa0436ee4a915ed50a1d0aa3afb3cd92 /tools/vm
parentcc6003916ed46d7a67d91ee32de0f9138047d55f (diff)
downloadlinux-e89bd9e7d8eb63a183040eaf0c9640fdb34ec47a.tar.gz
linux-e89bd9e7d8eb63a183040eaf0c9640fdb34ec47a.tar.bz2
linux-e89bd9e7d8eb63a183040eaf0c9640fdb34ec47a.zip
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: aa5b395b69b6 ("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>
Diffstat (limited to 'tools/vm')
0 files changed, 0 insertions, 0 deletions