/* Make sure that leaf is active. In the other words it can't be called with non-active leaf. It also removes class from the drop list.  */
static void htb_deactivate(struct htb_sched *q, struct htb_class *cl)
/* Make sure that leaf is active. In the other words it can't be called with non-active leaf. It also removes class from the drop list.  */
static void htb_deactivate(struct htb_sched *q, struct htb_class *cl)
{
	WARN_ON(!cl->prio_activity);
	htb_deactivate_prios(q, cl);
	cl->prio_activity = 0;
	list_del_init(&cl->un.leaf.drop_list);
}