mirror of https://gitee.com/openkylin/linux.git
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:
parent
8e51a63710
commit
dc5fa2073f
|
@ -279,7 +279,6 @@ static void z_decomp_free(void *arg)
|
|||
struct ppp_deflate_state *state = (struct ppp_deflate_state *) arg;
|
||||
|
||||
if (state) {
|
||||
zlib_inflateEnd(&state->strm);
|
||||
vfree(state->strm.workspace);
|
||||
kfree(state);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue