summaryrefslogtreecommitdiff
path: root/net/l2tp/l2tp_core.h
diff options
context:
space:
mode:
authorJames Chapman <jchapman@katalix.com>2024-06-20 12:22:37 +0100
committerDavid S. Miller <davem@davemloft.net>2024-06-21 11:33:33 +0100
commita744e2d03a91507646ffff8a03a19a2f34a6798a (patch)
tree67f84baed117576e4b95371725226c8372d47e1c /net/l2tp/l2tp_core.h
parent39c469188b6d20db107c454cac3ddea941718850 (diff)
downloadlinux-a744e2d03a91507646ffff8a03a19a2f34a6798a.tar.gz
linux-a744e2d03a91507646ffff8a03a19a2f34a6798a.tar.bz2
linux-a744e2d03a91507646ffff8a03a19a2f34a6798a.zip
l2tp: remove unused list_head member in l2tp_tunnel
Remove an unused variable in struct l2tp_tunnel which was left behind by commit c4d48a58f32c5 ("l2tp: convert l2tp_tunnel_list to idr"). Signed-off-by: James Chapman <jchapman@katalix.com> Reviewed-by: Tom Parkin <tparkin@katalix.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_core.h')
-rw-r--r--net/l2tp/l2tp_core.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_core.h b/net/l2tp/l2tp_core.h
index 91ebf0a3f499..54dfba1eb91c 100644
--- a/net/l2tp/l2tp_core.h
+++ b/net/l2tp/l2tp_core.h
@@ -174,7 +174,6 @@ struct l2tp_tunnel {
enum l2tp_encap_type encap;
struct l2tp_stats stats;
- struct list_head list; /* list node on per-namespace list of tunnels */
struct net *l2tp_net; /* the net we belong to */
refcount_t ref_count;