mirror of
https://github.com/torvalds/linux
synced 2024-11-05 18:23:50 +00:00
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>
This commit is contained in:
parent
c17988a90f
commit
a071d27241
1 changed files with 4 additions and 3 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue