From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH] net/tipc: remove redundant variables 'tn' and 'oport' Date: Wed, 01 Aug 2018 09:48:16 -0700 (PDT) Message-ID: <20180801.094816.1024347972181172876.davem@davemloft.net> References: <20180731160137.5850-1-colin.king@canonical.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Cc: netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org, tipc-discussion@lists.sourceforge.net To: colin.king@canonical.com Return-path: In-Reply-To: <20180731160137.5850-1-colin.king@canonical.com> List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: tipc-discussion-bounces@lists.sourceforge.net List-Id: netdev.vger.kernel.org From: Colin King Date: Tue, 31 Jul 2018 17:01:37 +0100 > From: Colin Ian King > > Variables 'tn' and 'oport' are being assigned but are never used hence > they are redundant and can be removed. > > Cleans up clang warnings: > warning: variable 'oport' set but not used [-Wunused-but-set-variable] > warning: variable 'tn' set but not used [-Wunused-but-set-variable] > > Signed-off-by: Colin Ian King Applied. ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot