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_netlink.c | |
parent | 039bca78cb7cce6cc2b8b1a2b0a0d8fa8ba49a84 (diff) | |
download | lwn-c9ccd4c63c40fa03a9d5850c4a8847192b640524.tar.gz lwn-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.c | 2 |
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; } |