summaryrefslogtreecommitdiffstats
path: root/net/ipv6/seg6_iptunnel.c
diff options
context:
space:
mode:
authorDavid Ahern <dsa@cumulusnetworks.com>2017-01-30 21:07:37 +0100
committerDavid S. Miller <davem@davemloft.net>2017-01-30 21:14:22 +0100
commit30357d7d8aaf2a980ab17c2ce054b2b87e60af88 (patch)
tree296e78783c0ad08a55440a84b6c294de37f1fa72 /net/ipv6/seg6_iptunnel.c
parentdrivers: net: generalize napi_complete_done() (diff)
downloadlinux-30357d7d8aaf2a980ab17c2ce054b2b87e60af88.tar.xz
linux-30357d7d8aaf2a980ab17c2ce054b2b87e60af88.zip
lwtunnel: remove device arg to lwtunnel_build_state
Nothing about lwt state requires a device reference, so remove the input argument. Signed-off-by: David Ahern <dsa@cumulusnetworks.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/ipv6/seg6_iptunnel.c')
-rw-r--r--net/ipv6/seg6_iptunnel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/ipv6/seg6_iptunnel.c b/net/ipv6/seg6_iptunnel.c
index c46f8cbf5ab5..6124e159c882 100644
--- a/net/ipv6/seg6_iptunnel.c
+++ b/net/ipv6/seg6_iptunnel.c
@@ -303,7 +303,7 @@ drop:
return err;
}
-static int seg6_build_state(struct net_device *dev, struct nlattr *nla,
+static int seg6_build_state(struct nlattr *nla,
unsigned int family, const void *cfg,
struct lwtunnel_state **ts)
{