Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yang Yingliang and committed by
David S. Miller
a071d272 c17988a9

+4 -3
+4 -3
net/sched/sch_htb.c
··· 1276 1276 struct Qdisc *new_q = NULL; 1277 1277 int last_child = 0; 1278 1278 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 + */ 1282 1283 if (cl->children || cl->filter_cnt) 1283 1284 return -EBUSY; 1284 1285