net: sched: rename qdisc_destroy() to qdisc_put()
[linux-block.git] / net / sched / sch_cbs.c
index e26a24017faa6b15d1f6100350d9c39b539ce50b..e689e11b6d0f5cc1acebdcb53a65ab47221afe65 100644 (file)
@@ -379,7 +379,7 @@ static void cbs_destroy(struct Qdisc *sch)
        cbs_disable_offload(dev, q);
 
        if (q->qdisc)
-               qdisc_destroy(q->qdisc);
+               qdisc_put(q->qdisc);
 }
 
 static int cbs_dump(struct Qdisc *sch, struct sk_buff *skb)