mirror of
git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-08-05 16:54:27 +00:00
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>
This commit is contained in:
parent
84b6714e54
commit
e01286ef03
1 changed files with 3 additions and 3 deletions
|
@ -533,9 +533,9 @@ errout:
|
||||||
|
|
||||||
#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;
|
||||||
|
|
Loading…
Add table
Reference in a new issue