]> git.proxmox.com Git - mirror_ubuntu-eoan-kernel.git/commitdiff
ipv4: Make fib_encap_match static
authorYing Xue <ying.xue@windriver.com>
Wed, 19 Aug 2015 08:04:51 +0000 (16:04 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 20 Aug 2015 21:12:23 +0000 (14:12 -0700)
Make fib_encap_match() static as it isn't used outside the file.

Signed-off-by: Ying Xue <ying.xue@windriver.com>
Reviewed-by: Jiri Benc <jbenc@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/ipv4/fib_semantics.c

index d5253071f71ff32b7c6c22ad98600526a0afbef8..8fdf6c26a012b630575edfc126b7863ba9673369 100644 (file)
@@ -533,9 +533,9 @@ errout:
 
 #endif
 
-int fib_encap_match(struct net *net, u16 encap_type,
-                   struct nlattr *encap,
-                   int oif, const struct fib_nh *nh)
+static int fib_encap_match(struct net *net, u16 encap_type,
+                          struct nlattr *encap,
+                          int oif, const struct fib_nh *nh)
 {
        struct lwtunnel_state *lwtstate;
        struct net_device *dev = NULL;