Skip to content

Commit a071d27

Browse files
Yang Yingliangdavem330
authored andcommitted
sch_htb: use /* comments
Do not use C99 // comments and correct a spelling typo. Signed-off-by: Yang Yingliang <yangyingliang@huawei.com> Signed-off-by: David S. Miller <davem@davemloft.net>
1 parent c17988a commit a071d27

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

net/sched/sch_htb.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1276,9 +1276,10 @@ static int htb_delete(struct Qdisc *sch, unsigned long arg)
12761276
struct Qdisc *new_q = NULL;
12771277
int last_child = 0;
12781278

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

0 commit comments

Comments
 (0)