aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorAlexei Starovoitov <ast@plumgrid.com>2015-08-25 23:06:31 -0400
committerDavid S. Miller <davem@davemloft.net>2015-08-26 14:01:44 -0400
commit3c645621b79828be7a46fb2694eb423b343b4bbe (patch)
tree1ccb8fb7ed87f8c810cd5a5151aee80afa6c4178 /net/sched
parentdc8242f704fee4fddcbebfcc5a4d08526951444a (diff)
net_sched: make tcf_hash_destroy() static
tcf_hash_destroy() used once. Make it static. Signed-off-by: Alexei Starovoitov <ast@plumgrid.com> Acked-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/act_api.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c
index b087087ccfa9..06e7c4a37245 100644
--- a/net/sched/act_api.c
+++ b/net/sched/act_api.c
@@ -36,7 +36,7 @@ static void free_tcf(struct rcu_head *head)
36 kfree(p); 36 kfree(p);
37} 37}
38 38
39void tcf_hash_destroy(struct tc_action *a) 39static void tcf_hash_destroy(struct tc_action *a)
40{ 40{
41 struct tcf_common *p = a->priv; 41 struct tcf_common *p = a->priv;
42 struct tcf_hashinfo *hinfo = a->ops->hinfo; 42 struct tcf_hashinfo *hinfo = a->ops->hinfo;
@@ -52,7 +52,6 @@ void tcf_hash_destroy(struct tc_action *a)
52 */ 52 */
53 call_rcu(&p->tcfc_rcu, free_tcf); 53 call_rcu(&p->tcfc_rcu, free_tcf);
54} 54}
55EXPORT_SYMBOL(tcf_hash_destroy);
56 55
57int __tcf_hash_release(struct tc_action *a, bool bind, bool strict) 56int __tcf_hash_release(struct tc_action *a, bool bind, bool strict)
58{ 57{