[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210527181208.GA8886@salvia>
Date: Thu, 27 May 2021 20:12:08 +0200
From: Pablo Neira Ayuso <pablo@...filter.org>
To: Yang Li <yang.lee@...ux.alibaba.com>
Cc: kadlec@...filter.org, fw@...len.de, davem@...emloft.net,
kuba@...nel.org, nathan@...nel.org, ndesaulniers@...gle.com,
netfilter-devel@...r.kernel.org, coreteam@...filter.org,
netdev@...r.kernel.org, linux-kernel@...r.kernel.org,
clang-built-linux@...glegroups.com
Subject: Re: [PATCH] netfilter: Remove redundant assignment to ret
On Fri, Apr 30, 2021 at 05:25:10PM +0800, Yang Li wrote:
> Variable 'ret' is set to zero but this value is never read as it is
> overwritten with a new value later on, hence it is a redundant
> assignment and can be removed
>
> Clean up the following clang-analyzer warning:
>
> net/netfilter/xt_CT.c:175:2: warning: Value stored to 'ret' is never
> read [clang-analyzer-deadcode.DeadStores]
I overlook this small patch, now applied to nf-next. Thanks.
Powered by blists - more mailing lists