Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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/[email protected] Fixes: aa5b395 ("lib/zlib: add s390 hardware support for kernel zlib_deflate") Signed-off-by: Tom Rix <[email protected]> Acked-by: Ilya Leoshkevich <[email protected]> Acked-by: Mikhail Zaslonko <[email protected]> Signed-off-by: Andrew Morton <[email protected]>
- Loading branch information