Thread (2 messages) flat view 2 messages, 2 authors, 2021-07-22

Re: [PATCH] ipsec: Remove unneeded extra variable in esp4 esp_ssg_unref()

From: Steffen Klassert <steffen.klassert@secunet.com>
Date: 2021-07-22 09:42:12

On Fri, Jul 16, 2021 at 03:28:46PM -0500, minyard@acm.org wrote:
From: Corey Minyard <redacted>

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 <redacted>
Cc: Steffen Klassert <steffen.klassert@secunet.com>
Cc: Herbert Xu <herbert@gondor.apana.org.au>
Cc: "David S. Miller" <davem@davemloft.net>
Cc: netdev@vger.kernel.org
Applied to ipsec-next, thanks!
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help