diff options
author | Jiapeng Chong <jiapeng.chong@linux.alibaba.com> | 2021-03-30 12:51:30 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-31 02:59:30 +0300 |
commit | dc5fa2073f63965faad232af0adf9b7e50b5f340 (patch) | |
tree | 5b9a4cf0506d95acd807a543e75b5f34aec129b2 /drivers/net/ppp | |
parent | 8e51a6371088703a5376a8e28849a8dd8e9620ae (diff) | |
download | linux-dc5fa2073f63965faad232af0adf9b7e50b5f340.tar.xz |
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>
Diffstat (limited to 'drivers/net/ppp')
-rw-r--r-- | drivers/net/ppp/ppp_deflate.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/net/ppp/ppp_deflate.c b/drivers/net/ppp/ppp_deflate.c index c457f849e553..e6d48e5c65a3 100644 --- a/drivers/net/ppp/ppp_deflate.c +++ b/drivers/net/ppp/ppp_deflate.c @@ -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); } |