Received: by 2002:a05:6a10:1287:0:0:0:0 with SMTP id d7csp1316789pxv; Fri, 23 Jul 2021 05:34:46 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJPL19ZGBGfJwsTMN8QYjW9vApurVZAAOX96GQvMwYaGuKZeCsczF2nRX2NOMKvr/djM9q X-Received: by 2002:a92:dac6:: with SMTP id o6mr3549691ilq.31.1627043686360; Fri, 23 Jul 2021 05:34:46 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1627043686; cv=none; d=google.com; s=arc-20160816; b=uG6fwxsFxtLgRchVxFQH91PagrGKUEX54/+zrWMR9CXn2rHRIKoErT/y2JBVQ1B0K0 11rQBGt6dqVZOZk59pHQ0OW+pCCXtC5k9ZThBw7qR5MgmY+tmyhqK5/bl+rbL+m4SwY/ jweCDDIJlH9NHrrhoaV18zLhk4evI71Ea3glB6AcyeLuSlj5VqCWvprxaN3wdumIZKmF tMFYeP7TVGvxa4S28uqskGpLt0BVJS3Xo9mCN/7W8xY8ojYDZ6v9rw5sJn6kVmN+SDE7 ggv8tGsjg0PcEyTor5RWDBRduTQR1ZNTF5a0SqP5Fw13wBZWqOAorvGkwmFC7GVtCp/1 Oxuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:user-agent:in-reply-to:content-disposition :mime-version:references:message-id:subject:cc:to:from:date; bh=0VwAeuRuZrthBzeekmwRDPZcCbejvidqaHYcwuYJjuQ=; b=fGZ7r9O4XyT+2HzlQ1VVcNc/MoYo+EhdI/DxzG4B1NY4me160eWxVUvOc5NCuSLjWg KnwEUqVX70Xc9CFJKKVYNaZOCeasCSTR+6EqsaeFNARDdLMNWiouL5JEBmIGWqOwccYz Ciox6Yg4RbEuc/AuKKKIxiGcImMLPHG3Nn4+fobrumBR7oUsMB07vD/aAnVpkSUdr7WK 2mKe9lF6SssadG3dYAXrmnbd7UuaC70vzAwjM5eTZ4BZMzDzYTXVMbiCw6dAy8Wx70PF fMj0VPeGKLzHLOIcuynv6WItwkh4b6L3RTayCHD74Aid36KuFmPzEuB8iy/iDR4ISmo8 IQeA== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id x19si31674424ioa.74.2021.07.23.05.34.33; Fri, 23 Jul 2021 05:34:46 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234894AbhGWLwq (ORCPT + 99 others); Fri, 23 Jul 2021 07:52:46 -0400 Received: from mail.netfilter.org ([217.70.188.207]:56916 "EHLO mail.netfilter.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234833AbhGWLvn (ORCPT ); Fri, 23 Jul 2021 07:51:43 -0400 Received: from netfilter.org (unknown [78.30.39.111]) by mail.netfilter.org (Postfix) with ESMTPSA id 874EB6244C; Fri, 23 Jul 2021 14:31:20 +0200 (CEST) Date: Fri, 23 Jul 2021 14:31:50 +0200 From: Pablo Neira Ayuso To: Arnd Bergmann Cc: Jozsef Kadlecsik , Florian Westphal , "David S. Miller" , Jakub Kicinski , Arnd Bergmann , Dan Carpenter , Colin Ian King , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] netfilter: nfnl_hook: fix unused variable warning Message-ID: <20210723123150.GA15125@salvia> References: <20210721152245.2751702-1-arnd@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <20210721152245.2751702-1-arnd@kernel.org> User-Agent: Mutt/1.10.1 (2018-07-13) Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 21, 2021 at 05:22:32PM +0200, Arnd Bergmann wrote: > From: Arnd Bergmann > > The only user of this variable is in an #ifdef: > > net/netfilter/nfnetlink_hook.c: In function 'nfnl_hook_entries_head': > net/netfilter/nfnetlink_hook.c:177:28: error: unused variable 'netdev' [-Werror=unused-variable] Applied, thanks.