* [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
* Re: [PATCH net-next] ipv4: Make fib_encap_match static
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
1 sibling, 0 replies; 3+ messages in thread
From: Jiri Benc @ 2015-08-19 11:03 UTC (permalink / raw
To: Ying Xue; +Cc: netdev, davem
On Wed, 19 Aug 2015 16:04:51 +0800, Ying Xue wrote:
> 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>
Noticed that, too, you were faster, again :-)
Jiri
--
Jiri Benc
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH net-next] ipv4: Make fib_encap_match static
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
1 sibling, 0 replies; 3+ messages in thread
From: David Miller @ 2015-08-20 21:12 UTC (permalink / raw
To: ying.xue; +Cc: netdev
From: Ying Xue <ying.xue@windriver.com>
Date: Wed, 19 Aug 2015 16:04:51 +0800
> Make fib_encap_match() static as it isn't used outside the file.
>
> Signed-off-by: Ying Xue <ying.xue@windriver.com>
Applied.
^ permalink raw reply [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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.