diff options
author | Ying Xue <ying.xue@windriver.com> | 2015-08-19 11:04:51 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-08-21 00:12:23 +0300 |
commit | e01286ef03a9c7b1d4937309f923c226ab05bc4d (patch) | |
tree | 62802ac65bc7204081281a04ca589aaf48aba871 /net/ipv4/fib_semantics.c | |
parent | 84b6714e54e5199e76f845be70295ccaab924872 (diff) | |
download | linux-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>
Diffstat (limited to 'net/ipv4/fib_semantics.c')
-rw-r--r-- | net/ipv4/fib_semantics.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c index d5253071f71f..8fdf6c26a012 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; |