aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorYang Yingliang <yangyingliang@huawei.com>2013-12-23 04:38:59 -0500
committerDavid S. Miller <davem@davemloft.net>2013-12-31 13:50:57 -0500
commita071d272415bbca9dcdba2de3a0925b9e6ead6ef (patch)
treeaaf5b0b4c24aa9ff4ec057822cdaf6758e41d58c /net/sched
parentc17988a90f92c61164d6b82dd92ce8ade03899c2 (diff)
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>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/sch_htb.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c
index e5988101e1fd..0db5a6eae87f 100644
--- a/net/sched/sch_htb.c
+++ b/net/sched/sch_htb.c
@@ -1276,9 +1276,10 @@ static int htb_delete(struct Qdisc *sch, unsigned long arg)
1276 struct Qdisc *new_q = NULL; 1276 struct Qdisc *new_q = NULL;
1277 int last_child = 0; 1277 int last_child = 0;
1278 1278
1279 // TODO: why don't allow to delete subtree ? references ? does 1279 /* TODO: why don't allow to delete subtree ? references ? does
1280 // tc subsys quarantee us that in htb_destroy it holds no class 1280 * tc subsys guarantee us that in htb_destroy it holds no class
1281 // refs so that we can remove children safely there ? 1281 * refs so that we can remove children safely there ?
1282 */
1282 if (cl->children || cl->filter_cnt) 1283 if (cl->children || cl->filter_cnt)
1283 return -EBUSY; 1284 return -EBUSY;
1284 1285