aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/net/l2tp/l2tp_core.h
diff options
context:
space:
mode:
authorGuillaume Nault <g.nault@alphalink.fr>2017-04-11 13:12:21 +0200
committerDavid S. Miller <davem@davemloft.net>2017-04-11 13:48:09 -0400
commit55a3ce3b9d98f752df9e2cfb1cba7e715522428a (patch)
tree9fd1b1b3cd7e93dfc8ae160340f6bc1e65b62fe0 /net/l2tp/l2tp_core.h
parentl2tp: remove useless duplicate session detection in l2tp_netlink (diff)
downloadwireguard-linux-55a3ce3b9d98f752df9e2cfb1cba7e715522428a.tar.xz
wireguard-linux-55a3ce3b9d98f752df9e2cfb1cba7e715522428a.zip
l2tp: remove l2tp_session_find()
This function isn't used anymore. Signed-off-by: Guillaume Nault <g.nault@alphalink.fr> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/l2tp/l2tp_core.h')
-rw-r--r--net/l2tp/l2tp_core.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/net/l2tp/l2tp_core.h b/net/l2tp/l2tp_core.h
index 8ce7818c7a9d..a3248e18badb 100644
--- a/net/l2tp/l2tp_core.h
+++ b/net/l2tp/l2tp_core.h
@@ -233,9 +233,6 @@ out:
struct l2tp_session *l2tp_session_get(struct net *net,
struct l2tp_tunnel *tunnel,
u32 session_id, bool do_ref);
-struct l2tp_session *l2tp_session_find(struct net *net,
- struct l2tp_tunnel *tunnel,
- u32 session_id);
struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth,
bool do_ref);
struct l2tp_session *l2tp_session_get_by_ifname(struct net *net, char *ifname,