Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -533,7 +533,7 @@ static int fib_get_nhs(struct fib_info *fi, struct rtnexthop *rtnh,

#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,
			   int oif, const struct fib_nh *nh)
{