[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20180801.095726.1922061289191949611.davem@davemloft.net>
Date: Wed, 01 Aug 2018 09:57:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: weiyongjun1@...wei.com
Cc: edumazet@...gle.com, kuznet@....inr.ac.ru, yoshfuji@...ux-ipv6.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org
Subject: Re: [PATCH net-next] tcp: remove set but not used variable
'skb_size'
From: Wei Yongjun <weiyongjun1@...wei.com>
Date: Wed, 1 Aug 2018 01:59:56 +0000
> 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>
Applied, thanks.
Powered by blists - more mailing lists