mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 19:51:31 -04:00
net_sched: make tcf_hash_destroy() static
tcf_hash_destroy() used once. Make it static. Signed-off-by: Alexei Starovoitov <[email protected]> Acked-by: Daniel Borkmann <[email protected]> Signed-off-by: David S. Miller <[email protected]>
This commit is contained in:
parent
dc8242f704
commit
3c645621b7
2 changed files with 1 additions and 3 deletions
|
|
@ -36,7 +36,7 @@ static void free_tcf(struct rcu_head *head)
|
|||
kfree(p);
|
||||
}
|
||||
|
||||
void tcf_hash_destroy(struct tc_action *a)
|
||||
static void tcf_hash_destroy(struct tc_action *a)
|
||||
{
|
||||
struct tcf_common *p = a->priv;
|
||||
struct tcf_hashinfo *hinfo = a->ops->hinfo;
|
||||
|
|
@ -52,7 +52,6 @@ void tcf_hash_destroy(struct tc_action *a)
|
|||
*/
|
||||
call_rcu(&p->tcfc_rcu, free_tcf);
|
||||
}
|
||||
EXPORT_SYMBOL(tcf_hash_destroy);
|
||||
|
||||
int __tcf_hash_release(struct tc_action *a, bool bind, bool strict)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue