* [PATCH net-next] ipv4: Make fib_encap_match static
@ 2015-08-19  8:04 Ying Xue
  2015-08-19 11:03 ` Jiri Benc
  2015-08-20 21:12 ` David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: Ying Xue @ 2015-08-19  8:04 UTC (permalink / raw)
  To: netdev; +Cc: davem
Make fib_encap_match() static as it isn't used outside the file.
Signed-off-by: Ying Xue <ying.xue@windriver.com>
---
 net/ipv4/fib_semantics.c |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/net/ipv4/fib_semantics.c b/net/ipv4/fib_semantics.c
index d525307..8fdf6c2 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;
-- 
1.7.9.5
^ permalink raw reply related	[flat|nested] 3+ messages in thread
end of thread, other threads:[~2015-08-20 21:12 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-19  8:04 [PATCH net-next] ipv4: Make fib_encap_match static Ying Xue
2015-08-19 11:03 ` Jiri Benc
2015-08-20 21:12 ` David Miller
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).