projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
84b6714
)
ipv4: Make fib_encap_match static
author
Ying Xue
<
[email protected]
>
Wed, 19 Aug 2015 08:04:51 +0000
(16:04 +0800)
committer
David S. Miller
<
[email protected]
>
Thu, 20 Aug 2015 21:12:23 +0000
(14:12 -0700)
Make fib_encap_match() static as it isn't used outside the file.
Signed-off-by: Ying Xue <
[email protected]
>
Reviewed-by: Jiri Benc <
[email protected]
>
Signed-off-by: David S. Miller <
[email protected]
>
net/ipv4/fib_semantics.c
patch
|
blob
|
history
diff --git
a/net/ipv4/fib_semantics.c
b/net/ipv4/fib_semantics.c
index d5253071f71ff32b7c6c22ad98600526a0afbef8..8fdf6c26a012b630575edfc126b7863ba9673369 100644
(file)
--- 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;