From mboxrd@z Thu Jan 1 00:00:00 1970 From: Pablo Neira Ayuso Date: Mon, 06 Nov 2017 13:18:51 +0000 Subject: Re: [PATCH] netfilter: ip6_tables: remove redundant assignment to e Message-Id: <20171106131851.GA2552@salvia> List-Id: References: <20171017120200.19994-1-colin.king@canonical.com> In-Reply-To: <20171017120200.19994-1-colin.king@canonical.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: Colin King Cc: Jozsef Kadlecsik , Florian Westphal , "David S . Miller" , Alexey Kuznetsov , Hideaki YOSHIFUJI , netfilter-devel@vger.kernel.org, coreteam@netfilter.org, netdev@vger.kernel.org, kernel-janitors@vger.kernel.org, linux-kernel@vger.kernel.org On Tue, Oct 17, 2017 at 01:02:00PM +0100, Colin King wrote: > From: Colin Ian King > > The assignment to variable e is redundant since the same assignment > occurs just a few lines later, hence it can be removed. Cleans up > clang warning: warning: Value stored to 'e' is never read Seems like net/ipv4/netfilter/ip_tables.c also has exactly the same redundant assignment, see mark_source_chains() there. If we can fix this all iptables spots in one go, the best. Please, also check arp_tables and ebtables. Thanks!