diff options
author | osdl.net!shemminger <osdl.net!shemminger> | 2004-08-31 17:45:21 +0000 |
---|---|---|
committer | osdl.net!shemminger <osdl.net!shemminger> | 2004-08-31 17:45:21 +0000 |
commit | f2f99e2eefdbd9cb6a750b19a7b3036db351b983 (patch) | |
tree | 526d4fbde0a2e39a832d8c04a97dfde0ccf7c772 /tc/q_fifo.c | |
parent | 3d327bf58b22a2ae07ac4a2cf37801e282ed81f4 (diff) |
no longer need xstats stub
(Logical change 1.77)
Diffstat (limited to 'tc/q_fifo.c')
-rw-r--r-- | tc/q_fifo.c | 28 |
1 files changed, 8 insertions, 20 deletions
diff --git a/tc/q_fifo.c b/tc/q_fifo.c index 8905c3d4..56bb9acd 100644 --- a/tc/q_fifo.c +++ b/tc/q_fifo.c @@ -78,33 +78,21 @@ static int fifo_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt) return 0; } -static int fifo_print_xstats(struct qdisc_util *qu, FILE *f, struct rtattr *xstats) -{ - return 0; -} - struct qdisc_util bfifo_util = { - NULL, - "bfifo", - fifo_parse_opt, - fifo_print_opt, - fifo_print_xstats, + .id = "bfifo", + .parse_qopt = fifo_parse_opt, + .print_qopt = fifo_print_opt, }; struct qdisc_util pfifo_util = { - NULL, - "pfifo", - fifo_parse_opt, - fifo_print_opt, - fifo_print_xstats, + .id = "pfifo", + .parse_qopt = fifo_parse_opt, + .print_qopt = fifo_print_opt, }; extern int prio_print_opt(struct qdisc_util *qu, FILE *f, struct rtattr *opt); struct qdisc_util pfifo_fast_util = { - NULL, - "pfifo_fast", - NULL, - prio_print_opt, - fifo_print_xstats, + .id = "pfifo_fast", + .print_qopt = prio_print_opt, }; |