[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20180214114802.dc55jiwj4zwntewh@gauss3.secunet.de>
Date: Wed, 14 Feb 2018 12:48:02 +0100
From: Steffen Klassert <steffen.klassert@...unet.com>
To: Colin King <colin.king@...onical.com>
CC: Herbert Xu <herbert@...dor.apana.org.au>,
"David S . Miller" <davem@...emloft.net>,
Alexey Kuznetsov <kuznet@....inr.ac.ru>,
"Hideaki YOSHIFUJI" <yoshfuji@...ux-ipv6.org>,
<netdev@...r.kernel.org>, <kernel-janitors@...r.kernel.org>,
<linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] esp4: remove redundant initialization of pointer esph
On Fri, Feb 02, 2018 at 08:37:50AM +0100, Steffen Klassert wrote:
> On Tue, Jan 30, 2018 at 02:53:48PM +0000, Colin King wrote:
> > From: Colin Ian King <colin.king@...onical.com>
> >
> > Pointer esph is being assigned a value that is never read, esph is
> > re-assigned and only read inside an if statement, hence the
> > initialization is redundant and can be removed.
> >
> > Cleans up clang warning:
> > net/ipv4/esp4.c:657:21: warning: Value stored to 'esph' during
> > its initialization is never read
> >
> > Signed-off-by: Colin Ian King <colin.king@...onical.com>
>
> I've queued this for ipsec-next, will be applied
> after the merge window.
Now applied to ipsec-next, thanks!
Powered by blists - more mailing lists