[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20e888fa-8c14-ee70-fd1e-4d9d44c67a66@gmail.com>
Date: Tue, 31 Jul 2018 19:36:05 -0700
From: Eric Dumazet <eric.dumazet@...il.com>
To: Wei Yongjun <weiyongjun1@...wei.com>,
Eric Dumazet <edumazet@...gle.com>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>
Cc: netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] tcp: remove set but not used variable 'skb_size'
On 07/31/2018 06:59 PM, Wei Yongjun wrote:
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> net/ipv4/tcp_output.c: In function 'tcp_collapse_retrans':
> net/ipv4/tcp_output.c:2700:6: warning:
> variable 'skb_size' set but not used [-Wunused-but-set-variable]
> int skb_size, next_skb_size;
> ^
>
> Signed-off-by: Wei Yongjun <weiyongjun1@...wei.com>
Signed-off-by: Eric Dumazet <edumazet@...gle.com>
Thanks.
Powered by blists - more mailing lists