diff options
author | Tom Parkin <tparkin@katalix.com> | 2020-09-03 09:54:49 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-09-03 12:19:03 -0700 |
commit | c9ccd4c63c40fa03a9d5850c4a8847192b640524 (patch) | |
tree | 271d15370d3bc16607afe6e5a02d5af2e8b22487 /net/l2tp/l2tp_core.c | |
parent | 039bca78cb7cce6cc2b8b1a2b0a0d8fa8ba49a84 (diff) |
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.c')
-rw-r--r-- | net/l2tp/l2tp_core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_core.c b/net/l2tp/l2tp_core.c index 4a8fb285fada..da66a6ed8993 100644 --- a/net/l2tp/l2tp_core.c +++ b/net/l2tp/l2tp_core.c @@ -1381,7 +1381,7 @@ out: static struct lock_class_key l2tp_socket_class; -int l2tp_tunnel_create(struct net *net, int fd, int version, u32 tunnel_id, u32 peer_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) { struct l2tp_tunnel *tunnel = NULL; |