summaryrefslogtreecommitdiffstats
path: root/net/ipv6/xfrm6_tunnel.c
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2021-06-05 12:54:43 +0200
committerSteffen Klassert <steffen.klassert@secunet.com>2021-06-09 09:38:52 +0200
commit152bca090243f2aebbf4c0a2aa723ab610e6f3c4 (patch)
tree2871024071992fd8d4913df79a3e6afbeec10e98 /net/ipv6/xfrm6_tunnel.c
parentnet: Remove unnecessary variables (diff)
downloadlinux-152bca090243f2aebbf4c0a2aa723ab610e6f3c4.tar.xz
linux-152bca090243f2aebbf4c0a2aa723ab610e6f3c4.zip
xfrm: remove description from xfrm_type struct
Its set but never read. Reduces size of xfrm_type to 64 bytes on 64bit. Signed-off-by: Florian Westphal <fw@strlen.de> Signed-off-by: Steffen Klassert <steffen.klassert@secunet.com>
Diffstat (limited to 'net/ipv6/xfrm6_tunnel.c')
-rw-r--r--net/ipv6/xfrm6_tunnel.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/ipv6/xfrm6_tunnel.c b/net/ipv6/xfrm6_tunnel.c
index f696d46e6910..2b31112c0856 100644
--- a/net/ipv6/xfrm6_tunnel.c
+++ b/net/ipv6/xfrm6_tunnel.c
@@ -291,7 +291,6 @@ static void xfrm6_tunnel_destroy(struct xfrm_state *x)
}
static const struct xfrm_type xfrm6_tunnel_type = {
- .description = "IP6IP6",
.owner = THIS_MODULE,
.proto = IPPROTO_IPV6,
.init_state = xfrm6_tunnel_init_state,