aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_core.h
diff options
context:
space:
mode:
authorTom Parkin <tparkin@katalix.com>2020-09-03 09:54:49 +0100
committerDavid S. Miller <davem@davemloft.net>2020-09-03 12:19:03 -0700
commitc9ccd4c63c40fa03a9d5850c4a8847192b640524 (patch)
tree271d15370d3bc16607afe6e5a02d5af2e8b22487 /net/l2tp/l2tp_core.h
parentl2tp: drop data_len argument from l2tp_xmit_core (diff)
downloadlinux-dev-c9ccd4c63c40fa03a9d5850c4a8847192b640524.tar.xz
linux-dev-c9ccd4c63c40fa03a9d5850c4a8847192b640524.zip
l2tp: drop net argument from l2tp_tunnel_create
The argument is unused, so remove it. Signed-off-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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_core.h b/net/l2tp/l2tp_core.h
index 5550a42dda04..3ce90c3f3491 100644
--- a/net/l2tp/l2tp_core.h
+++ b/net/l2tp/l2tp_core.h
@@ -235,7 +235,7 @@ struct l2tp_session *l2tp_session_get_by_ifname(const struct net *net,
* Creation of a new instance is a two-step process: create, then register.
* Destruction is triggered using the *_delete functions, and completes asynchronously.
*/
-int l2tp_tunnel_create(struct net *net, int fd, int version, u32 tunnel_id,
+int l2tp_tunnel_create(int fd, int version, u32 tunnel_id,
u32 peer_tunnel_id, struct l2tp_tunnel_cfg *cfg,
struct l2tp_tunnel **tunnelp);
int l2tp_tunnel_register(struct l2tp_tunnel *tunnel, struct net *net,