diff options
author | Corey Minyard <cminyard@mvista.com> | 2021-07-16 23:28:46 +0300 |
---|---|---|
committer | Steffen Klassert <steffen.klassert@secunet.com> | 2021-07-20 17:14:23 +0300 |
commit | f8fdadef92b7a39e9a9a83bc2df68731ac6c298b (patch) | |
tree | 1f0524a29e4aa944edec93cc1532dd6e1aea8e3f /net/xfrm/xfrm_policy.c | |
parent | c18e9405d46aa08bb4b55a35ee9bcc66ef3e89e0 (diff) | |
download | linux-f8fdadef92b7a39e9a9a83bc2df68731ac6c298b.tar.xz |
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: Corey 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: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/xfrm/xfrm_policy.c')
0 files changed, 0 insertions, 0 deletions