From: David Miller <davem@davemloft.net>
To: dhowells@redhat.com
Cc: netdev@vger.kernel.org, linux-afs@lists.infradead.org,
linux-kernel@vger.kernel.org, weiyongjun1@huawei.com
Subject: Re: [PATCH net-next] rxrpc: Remove set but not used variable 'nowj'
Date: Thu, 02 Aug 2018 10:21:53 -0700 (PDT) [thread overview]
Message-ID: <20180802.102153.321128130359100641.davem@davemloft.net> (raw)
In-Reply-To: <153319761338.28801.14787677585388434259.stgit@warthog.procyon.org.uk>
From: David Howells <dhowells@redhat.com>
Date: Thu, 02 Aug 2018 09:13:33 +0100
> From: Wei Yongjun <weiyongjun1@huawei.com>
>
> Fixes gcc '-Wunused-but-set-variable' warning:
>
> net/rxrpc/proc.c: In function 'rxrpc_call_seq_show':
> net/rxrpc/proc.c:66:29: warning:
> variable 'nowj' set but not used [-Wunused-but-set-variable]
> unsigned long timeout = 0, nowj;
> ^
>
> Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
> Signed-off-by: David Howells <dhowells@redhat.com>
Applied.
next prev parent reply other threads:[~2018-08-02 17:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-02 8:13 [PATCH net-next] rxrpc: Remove set but not used variable 'nowj' David Howells
2018-08-02 17:21 ` David Miller [this message]
-- strict thread matches above, loose matches on Subject: below --
2018-08-02 3:36 Wei Yongjun
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=20180802.102153.321128130359100641.davem@davemloft.net \
--to=davem@davemloft.net \
--cc=dhowells@redhat.com \
--cc=linux-afs@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=netdev@vger.kernel.org \
--cc=weiyongjun1@huawei.com \
/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