tc: gred: remove unclear comment

The comment about providing a proper message seems similar to
the comment in the kernel which says:

    /* hack -- fix at some point with proper message
       This is how we indicate to tc that there is no VQ
       at this DP */

it's unclear what that message would be, and whether it's needed.
Remove the confusing comment.

Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Reviewed-by: Quentin Monnet <quentin.monnet@netronome.com>
Signed-off-by: David Ahern <dsahern@gmail.com>
This commit is contained in:
Jakub Kicinski 2018-11-19 15:03:28 -08:00 committed by David Ahern
parent 6ae54b1326
commit c8f201e3d2

View File

@ -302,8 +302,6 @@ static int gred_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
return -1; return -1;
} }
/* Bad hack! should really return a proper message as shown above*/
fprintf(f, "vqs %u default %u %s", fprintf(f, "vqs %u default %u %s",
sopt->DPs, sopt->DPs,
sopt->def_DP, sopt->def_DP,