From: Eric Dumazet <eric.dumazet@gmail.com>
To: Wei Yongjun <weiyongjun1@huawei.com>,
Eric Dumazet <edumazet@google.com>,
Alexey Kuznetsov <kuznet@ms2.inr.ac.ru>,
Hideaki YOSHIFUJI <yoshfuji@linux-ipv6.org>
Cc: netdev@vger.kernel.org, kernel-janitors@vger.kernel.org
Subject: Re: [PATCH net-next] tcp: remove set but not used variable 'skb_size'
Date: Tue, 31 Jul 2018 19:36:05 -0700 [thread overview]
Message-ID: <20e888fa-8c14-ee70-fd1e-4d9d44c67a66@gmail.com> (raw)
In-Reply-To: <1533088796-149451-1-git-send-email-weiyongjun1@huawei.com>
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@huawei.com>
Signed-off-by: Eric Dumazet <edumazet@google.com>
Thanks.
next prev parent reply other threads:[~2018-08-01 4:19 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1533048144-39731-1-git-send-email-weiyongjun1@huawei.com>
2018-08-01 1:59 ` [PATCH net-next] tcp: remove set but not used variable 'skb_size' Wei Yongjun
2018-08-01 2:36 ` Eric Dumazet [this message]
2018-08-01 16:57 ` David Miller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20e888fa-8c14-ee70-fd1e-4d9d44c67a66@gmail.com \
--to=eric.dumazet@gmail.com \
--cc=edumazet@google.com \
--cc=kernel-janitors@vger.kernel.org \
--cc=kuznet@ms2.inr.ac.ru \
--cc=netdev@vger.kernel.org \
--cc=weiyongjun1@huawei.com \
--cc=yoshfuji@linux-ipv6.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).