From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753817AbdCTM6j (ORCPT ); Mon, 20 Mar 2017 08:58:39 -0400 Received: from mail.us.es ([193.147.175.20]:56508 "EHLO mail.us.es" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753538AbdCTM6B (ORCPT ); Mon, 20 Mar 2017 08:58:01 -0400 Date: Mon, 20 Mar 2017 13:56:57 +0100 From: Pablo Neira Ayuso To: Arnd Bergmann Cc: Jozsef Kadlecsik , "David S. Miller" , Liping Zhang , David Windsor , "Reshetova, Elena" , Nicolas Dichtel , Phil Turnbull , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] [netfilter-next] netfilter: remove unused refcount variable Message-ID: <20170320125657.GA12690@salvia> References: <20170320123708.4025261-1-arnd@arndb.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170320123708.4025261-1-arnd@arndb.de> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Mar 20, 2017 at 01:37:01PM +0100, Arnd Bergmann wrote: > The refcount variable was accidentally introduced without any reference > to it. Removing it again avoids this warning: > > net/netfilter/nfnetlink_acct.c: In function 'nfnl_acct_try_del': > net/netfilter/nfnetlink_acct.c:329:15: error: unused variable 'refcount' [-Werror=unused-variable] Thanks Arnd. Elena already fixed it here: https://git.kernel.org/pub/scm/linux/kernel/git/pablo/nf-next.git/commit/