[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20210722094208.GB893739@gauss3.secunet.de>
Date: Thu, 22 Jul 2021 11:42:08 +0200
From: Steffen Klassert <steffen.klassert@...unet.com>
To: <minyard@....org>
CC: <netdev@...r.kernel.org>, Corey Minyard <cminyard@...sta.com>,
Herbert Xu <herbert@...dor.apana.org.au>,
"David S. Miller" <davem@...emloft.net>
Subject: Re: [PATCH] ipsec: Remove unneeded extra variable in esp4
esp_ssg_unref()
On Fri, Jul 16, 2021 at 03:28:46PM -0500, minyard@....org wrote:
> From: Corey Minyard <cminyard@...sta.com>
>
> It's assigned twice, but only used to calculate the size of the
> structure it points to. Just remove it and take a sizeof the
> actual structure.
>
> Signed-off-by: Corey Minyard <cminyard@...sta.com>
> Cc: Steffen Klassert <steffen.klassert@...unet.com>
> Cc: Herbert Xu <herbert@...dor.apana.org.au>
> Cc: "David S. Miller" <davem@...emloft.net>
> Cc: netdev@...r.kernel.org
Applied to ipsec-next, thanks!
Powered by blists - more mailing lists