sched: move tcf_proto_destroy and tcf_destroy_chain helpers into cls_api
authorJiri Pirko <jiri@mellanox.com>
Thu, 9 Feb 2017 13:38:56 +0000 (14:38 +0100)
committerDavid S. Miller <davem@davemloft.net>
Fri, 10 Feb 2017 16:38:08 +0000 (11:38 -0500)
commitcf1facda2f61bc3e9ffd985b6d624dec6ad3f279
treeb6dda3c94a8e34fa9d895defe3ca6f46b6b898a6
parent79112c26f14c38ddbac3b2739469e373ef424fe6
sched: move tcf_proto_destroy and tcf_destroy_chain helpers into cls_api

Creation is done in this file, move destruction to be at the same place.

Signed-off-by: Jiri Pirko <jiri@mellanox.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
15 files changed:
include/net/pkt_cls.h
include/net/sch_generic.h
net/sched/cls_api.c
net/sched/sch_api.c
net/sched/sch_atm.c
net/sched/sch_cbq.c
net/sched/sch_choke.c
net/sched/sch_dsmark.c
net/sched/sch_fq_codel.c
net/sched/sch_htb.c
net/sched/sch_ingress.c
net/sched/sch_multiq.c
net/sched/sch_prio.c
net/sched/sch_sfb.c
net/sched/sch_sfq.c