summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing Xue <ying.xue@windriver.com>2015-08-19 08:04:51 (GMT)
committerDavid S. Miller <davem@davemloft.net>2015-08-20 21:12:23 (GMT)
commite01286ef03a9c7b1d4937309f923c226ab05bc4d (patch)
tree62802ac65bc7204081281a04ca589aaf48aba871
parent84b6714e54e5199e76f845be70295ccaab924872 (diff)
downloadlinux-e01286ef03a9c7b1d4937309f923c226ab05bc4d.tar.xz
ipv4: Make fib_encap_match static
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>
-rw-r--r--net/ipv4/fib_semantics.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c
index d525307..8fdf6c2 100644
--- a/net/ipv4/fib_semantics.c
+++ b/net/ipv4/fib_semantics.c
@@ -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;