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

ppp: deflate: Remove useless call "zlib_inflateEnd"

Fix the following whitescan warning:

Calling "zlib_inflateEnd(&state->strm)" is only useful for its return
value, which is ignored.

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

authored by

Jiapeng Chong and committed by
David S. Miller
dc5fa207 8e51a637

-1
-1
drivers/net/ppp/ppp_deflate.c
··· 279 279 struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; 280 280 281 281 if (state) { 282 - zlib_inflateEnd(&state->strm); 283 282 vfree(state->strm.workspace); 284 283 kfree(state); 285 284 }