Skip to content
Commit f8fdadef authored by Corey Minyard's avatar Corey Minyard Committed by Steffen Klassert
Browse files

ipsec: Remove unneeded extra variable in esp4 esp_ssg_unref()



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: default avatarCorey Minyard <cminyard@mvista.com>
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
Signed-off-by: default avatarSteffen Klassert <steffen.klassert@secunet.com>
parent c18e9405
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment