Commit e01286ef authored by Ying Xue's avatar Ying Xue Committed by David S. Miller

ipv4: Make fib_encap_match static

Make fib_encap_match() static as it isn't used outside the file.
Signed-off-by: default avatarYing Xue <ying.xue@windriver.com>
Reviewed-by: default avatarJiri Benc <jbenc@redhat.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 84b6714e
......@@ -533,9 +533,9 @@ static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,
#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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment