From f2f99e2eefdbd9cb6a750b19a7b3036db351b983 Mon Sep 17 00:00:00 2001 From: "osdl.net!shemminger" Date: Tue, 31 Aug 2004 17:45:21 +0000 Subject: no longer need xstats stub (Logical change 1.77) --- tc/q_fifo.c | 28 ++++++++-------------------- 1 file changed, 8 insertions(+), 20 deletions(-) (limited to 'tc/q_fifo.c') 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, }; -- cgit v1.2.3