From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] rxrpc: remove redundant static int 'zero' Date: Sat, 11 Aug 2018 11:25:43 -0700 (PDT) Message-ID: <20180811.112543.234592231299206833.davem@davemloft.net> References: <20180809110049.32497-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: dhowells@redhat.com, linux-afs@lists.infradead.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org To: colin.king@canonical.com Return-path: In-Reply-To: <20180809110049.32497-1-colin.king@canonical.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: netdev.vger.kernel.org From: Colin King Date: Thu, 9 Aug 2018 12:00:49 +0100 > From: Colin Ian King > > The static int 'zero' is defined but is never used hence it is > redundant and can be removed. The use of this variable was removed > with commit a158bdd3247b ("rxrpc: Fix call timeouts"). > > Cleans up clang warning: > warning: 'zero' defined but not used [-Wunused-const-variable=] > > Signed-off-by: Colin Ian King Applied, thank you.