net_sched: remove unused parameter from act cleanup ops
No one actually uses it. Cc: Jiri Pirko <jiri@mellanox.com> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
committed by
David S. Miller
parent
8bf5438100
commit
9a63b255df
@@ -99,7 +99,7 @@ int __tcf_idr_release(struct tc_action *p, bool bind, bool strict)
|
||||
p->tcfa_refcnt--;
|
||||
if (p->tcfa_bindcnt <= 0 && p->tcfa_refcnt <= 0) {
|
||||
if (p->ops->cleanup)
|
||||
p->ops->cleanup(p, bind);
|
||||
p->ops->cleanup(p);
|
||||
tcf_idr_remove(p->idrinfo, p);
|
||||
ret = ACT_P_DELETED;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user