[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20171106131851.GA2552@salvia>
Date: Mon, 6 Nov 2017 14:18:51 +0100
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Colin King <colin.king@...onical.com>
Cc: Jozsef Kadlecsik <kadlec@...ckhole.kfki.hu>,
Florian Westphal <fw@...len.de>,
"David S . Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
Hideaki YOSHIFUJI <yoshfuji@...ux-ipv6.org>,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org, kernel-janitors@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] netfilter: ip6_tables: remove redundant assignment to e
On Tue, Oct 17, 2017 at 01:02:00PM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@...onical.com>
>
> 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!
Powered by blists - more mailing lists