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>
This commit is contained in:
Jiapeng Chong 2021-03-30 17:51:30 +08:00 committed by David S. Miller
parent 8e51a63710
commit dc5fa2073f
1 changed files with 0 additions and 1 deletions

View File

@ -279,7 +279,6 @@ static void z_decomp_free(void *arg)
struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg; struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg;
if (state) { if (state) {
zlib_inflateEnd(&state->strm);
vfree(state->strm.workspace); vfree(state->strm.workspace);
kfree(state); kfree(state);
} }