提交 e01286ef 编写于 作者: Y Ying Xue 提交者: 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: NYing Xue <ying.xue@windriver.com>
Reviewed-by: NJiri Benc <jbenc@redhat.com>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 84b6714e
...@@ -533,9 +533,9 @@ static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh, ...@@ -533,9 +533,9 @@ static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,
#endif #endif
int fib_encap_match(struct net *net, u16 encap_type, static int fib_encap_match(struct net *net, u16 encap_type,
struct nlattr *encap, struct nlattr *encap,
int oif, const struct fib_nh *nh) int oif, const struct fib_nh *nh)
{ {
struct lwtunnel_state *lwtstate; struct lwtunnel_state *lwtstate;
struct net_device *dev = NULL; struct net_device *dev = NULL;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册