aboutsummaryrefslogtreecommitdiffstats
path: root/net/l2tp/l2tp_netlink.c
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_netlink.c
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_netlink.c')
-rw-r--r--net/l2tp/l2tp_netlink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/l2tp/l2tp_netlink.c b/net/l2tp/l2tp_netlink.c
index 31a1e27eab20..83c015f7f20d 100644
--- a/net/l2tp/l2tp_netlink.c
+++ b/net/l2tp/l2tp_netlink.c
@@ -233,7 +233,7 @@ static int l2tp_nl_cmd_tunnel_create(struct sk_buff *skb, struct genl_info *info
switch (cfg.encap) {
case L2TP_ENCAPTYPE_UDP:
case L2TP_ENCAPTYPE_IP:
- ret = l2tp_tunnel_create(net, fd, proto_version, tunnel_id,
+ ret = l2tp_tunnel_create(fd, proto_version, tunnel_id,
peer_tunnel_id, &cfg, &tunnel);
break;
}