diff options
author | Yu Kuai | 2021-06-05 18:18:36 +0800 |
---|---|---|
committer | David S. Miller | 2021-06-07 12:28:40 -0700 |
commit | 5f8c6d05f3900a586fc3e7947423cd3b8aafcc33 (patch) | |
tree | 87a243113356bdc3b9c12812231746900e2bce0d /net/sched | |
parent | 996bccc39afba3db1309b8cd845f1f463516050e (diff) |
sch_htb: fix doc warning in htb_remove_class_from_row()
Add description for parameters of htb_remove_class_from_row()
to fix gcc W=1 warnings:
net/sched/sch_htb.c:380: warning: Function parameter or member 'q' not described in 'htb_remove_class_from_row'
net/sched/sch_htb.c:380: warning: Function parameter or member 'cl' not described in 'htb_remove_class_from_row'
net/sched/sch_htb.c:380: warning: Function parameter or member 'mask' not described in 'htb_remove_class_from_row'
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/sch_htb.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/sched/sch_htb.c b/net/sched/sch_htb.c index 97a9df42849e..30a53db7eeb6 100644 --- a/net/sched/sch_htb.c +++ b/net/sched/sch_htb.c @@ -381,6 +381,9 @@ static void htb_safe_rb_erase(struct rb_node *rb, struct rb_root *root) /** * htb_remove_class_from_row - removes class from its row + * @q: the priority event queue + * @cl: the class to add + * @mask: the given priorities in class in bitmap * * The class is removed from row at priorities marked in mask. * It does nothing if mask == 0. |