summaryrefslogtreecommitdiffstats
path: root/tc/q_prio.c
diff options
context:
space:
mode:
authorosdl.net!shemminger <osdl.net!shemminger>2004-08-31 17:45:21 +0000
committerosdl.net!shemminger <osdl.net!shemminger>2004-08-31 17:45:21 +0000
commitf2f99e2eefdbd9cb6a750b19a7b3036db351b983 (patch)
tree526d4fbde0a2e39a832d8c04a97dfde0ccf7c772 /tc/q_prio.c
parent3d327bf58b22a2ae07ac4a2cf37801e282ed81f4 (diff)
no longer need xstats stub
(Logical change 1.77)
Diffstat (limited to 'tc/q_prio.c')
-rw-r--r--tc/q_prio.c14
1 files changed, 3 insertions, 11 deletions
diff --git a/tc/q_prio.c b/tc/q_prio.c
index 3da12e4c..2f65740b 100644
--- a/tc/q_prio.c
+++ b/tc/q_prio.c
@@ -111,17 +111,9 @@ int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt)
return 0;
}
-static int prio_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats)
-{
- return 0;
-}
-
-
struct qdisc_util prio_util = {
- NULL,
- "prio",
- prio_parse_opt,
- prio_print_opt,
- prio_print_xstats,
+ .id = "prio",
+ .parse_qopt = prio_parse_opt,
+ .print_qopt = prio_print_opt,
};