Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a071d272 authored by Yang Yingliang's avatar Yang Yingliang Committed by David S. Miller
Browse files

sch_htb: use /* comments



Do not use C99 // comments and correct a spelling typo.

Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c17988a9
Loading
Loading
Loading
Loading
+4 −3
Original line number Diff line number Diff line
@@ -1276,9 +1276,10 @@ static int htb_delete(struct Qdisc *sch, unsigned long arg)
	struct Qdisc *new_q = NULL;
	int last_child = 0;

	// TODO: why don't allow to delete subtree ? references ? does
	// tc subsys quarantee us that in htb_destroy it holds no class
	// refs so that we can remove children safely there ?
	/* TODO: why don't allow to delete subtree ? references ? does
	 * tc subsys guarantee us that in htb_destroy it holds no class
	 * refs so that we can remove children safely there ?
	 */
	if (cl->children || cl->filter_cnt)
		return -EBUSY;