From d747939e2873f994ec8c44bce5caff887bef2b60 Mon Sep 17 00:00:00 2001 From: stephen hemminger Date: Mon, 4 Oct 2010 20:14:17 +0000 Subject: [PATCH] --- yaml --- r: 214916 b: refs/heads/master c: 1df9916e46451533463f227e6be57cc2cfca4c5f h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/include/net/fib_rules.h | 1 - trunk/net/core/fib_rules.c | 3 +-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/[refs] b/[refs] index c81d152f8e11..bb179fd1d125 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6a31d2a97c04ffe9b161ec0177a2296366ff9249 +refs/heads/master: 1df9916e46451533463f227e6be57cc2cfca4c5f diff --git a/trunk/include/net/fib_rules.h b/trunk/include/net/fib_rules.h index e8923bc20f9f..ac2fd002812e 100644 --- a/trunk/include/net/fib_rules.h +++ b/trunk/include/net/fib_rules.h @@ -106,7 +106,6 @@ static inline u32 frh_get_table(struct fib_rule_hdr *frh, struct nlattr **nla) extern struct fib_rules_ops *fib_rules_register(const struct fib_rules_ops *, struct net *); extern void fib_rules_unregister(struct fib_rules_ops *); -extern void fib_rules_cleanup_ops(struct fib_rules_ops *); extern int fib_rules_lookup(struct fib_rules_ops *, struct flowi *, int flags, diff --git a/trunk/net/core/fib_rules.c b/trunk/net/core/fib_rules.c index 332c2e31d048..cfb7d25c172d 100644 --- a/trunk/net/core/fib_rules.c +++ b/trunk/net/core/fib_rules.c @@ -144,7 +144,7 @@ fib_rules_register(const struct fib_rules_ops *tmpl, struct net *net) } EXPORT_SYMBOL_GPL(fib_rules_register); -void fib_rules_cleanup_ops(struct fib_rules_ops *ops) +static void fib_rules_cleanup_ops(struct fib_rules_ops *ops) { struct fib_rule *rule, *tmp; @@ -153,7 +153,6 @@ void fib_rules_cleanup_ops(struct fib_rules_ops *ops) fib_rule_put(rule); } } -EXPORT_SYMBOL_GPL(fib_rules_cleanup_ops); static void fib_rules_put_rcu(struct rcu_head *head) {