diff options
author | stephen hemminger <shemminger@vyatta.com> | 2010-10-04 16:14:17 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2010-10-05 03:47:39 -0400 |
commit | 1df9916e46451533463f227e6be57cc2cfca4c5f (patch) | |
tree | e37eeef3f4a1b4e0fc760d5f8075b34d19e2e471 /net/core | |
parent | 6a31d2a97c04ffe9b161ec0177a2296366ff9249 (diff) |
fib: fib_rules_cleanup can be static
fib_rules_cleanup_ups is only defined and used in one place.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Acked-by: Eric Dumazet <eric.dumazet@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/core')
-rw-r--r-- | net/core/fib_rules.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/net/core/fib_rules.c b/net/core/fib_rules.c index 332c2e31d048..cfb7d25c172d 100644 --- a/net/core/fib_rules.c +++ b/net/core/fib_rules.c | |||
@@ -144,7 +144,7 @@ fib_rules_register(const struct fib_rules_ops *tmpl, struct net *net) | |||
144 | } | 144 | } |
145 | EXPORT_SYMBOL_GPL(fib_rules_register); | 145 | EXPORT_SYMBOL_GPL(fib_rules_register); |
146 | 146 | ||
147 | void fib_rules_cleanup_ops(struct fib_rules_ops *ops) | 147 | static void fib_rules_cleanup_ops(struct fib_rules_ops *ops) |
148 | { | 148 | { |
149 | struct fib_rule *rule, *tmp; | 149 | struct fib_rule *rule, *tmp; |
150 | 150 | ||
@@ -153,7 +153,6 @@ void fib_rules_cleanup_ops(struct fib_rules_ops *ops) | |||
153 | fib_rule_put(rule); | 153 | fib_rule_put(rule); |
154 | } | 154 | } |
155 | } | 155 | } |
156 | EXPORT_SYMBOL_GPL(fib_rules_cleanup_ops); | ||
157 | 156 | ||
158 | static void fib_rules_put_rcu(struct rcu_head *head) | 157 | static void fib_rules_put_rcu(struct rcu_head *head) |
159 | { | 158 | { |