From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] rxrpc: Remove set but not used variable 'nowj' Date: Thu, 02 Aug 2018 10:21:53 -0700 (PDT) Message-ID: <20180802.102153.321128130359100641.davem@davemloft.net> References: <153319761338.28801.14787677585388434259.stgit@warthog.procyon.org.uk> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, linux-afs@lists.infradead.org, linux-kernel@vger.kernel.org, weiyongjun1@huawei.com To: dhowells@redhat.com Return-path: In-Reply-To: <153319761338.28801.14787677585388434259.stgit@warthog.procyon.org.uk> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: David Howells Date: Thu, 02 Aug 2018 09:13:33 +0100 > From: Wei Yongjun > > 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 > Signed-off-by: David Howells Applied.