From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Miller Subject: Re: [PATCH net-next] octeontx2-af: Remove set but not used variable 'block' Date: Mon, 22 Oct 2018 19:29:23 -0700 (PDT) Message-ID: <20181022.192923.317319591220007582.davem@davemloft.net> References: <1539953488-191102-1-git-send-email-yuehaibing@huawei.com> Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Cc: sgoutham@marvell.com, lcherian@marvell.com, gakula@marvell.com, jerinj@marvell.com, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org To: yuehaibing@huawei.com Return-path: Received: from shards.monkeyblade.net ([23.128.96.9]:39804 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725768AbeJWKui (ORCPT ); Tue, 23 Oct 2018 06:50:38 -0400 In-Reply-To: <1539953488-191102-1-git-send-email-yuehaibing@huawei.com> Sender: netdev-owner@vger.kernel.org List-ID: From: YueHaibing Date: Fri, 19 Oct 2018 12:51:28 +0000 > Fixes gcc '-Wunused-but-set-variable' warning: > > drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c: In function 'rvu_npa_init': > drivers/net/ethernet/marvell/octeontx2/af/rvu_npa.c:446:20: warning: > variable 'block' set but not used [-Wunused-but-set-variable] > > It never used since introduction in > commit 7a37245ef23f ("octeontx2-af: NPA block admin queue init") > > Signed-off-by: YueHaibing Applied.