patch-2.4.17 linux/net/sched/sch_tbf.c
Next file: linux/net/socket.c
Previous file: linux/net/sched/sch_sfq.c
Back to the patch index
Back to the overall index
- Lines: 26
- Date:
Fri Dec 21 16:40:33 2001
- Orig file:
linux-2.4.16/net/sched/sch_tbf.c
- Orig date:
Sun Sep 30 19:26:09 2001
diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/net/sched/sch_tbf.c linux/net/sched/sch_tbf.c
@@ -363,7 +363,6 @@
MOD_DEC_USE_COUNT;
}
-#ifdef CONFIG_RTNETLINK
static int tbf_dump(struct Qdisc *sch, struct sk_buff *skb)
{
struct tbf_sched_data *q = (struct tbf_sched_data *)sch->data;
@@ -391,7 +390,6 @@
skb_trim(skb, b - skb->data);
return -1;
}
-#endif
struct Qdisc_ops tbf_qdisc_ops =
{
@@ -410,9 +408,7 @@
tbf_destroy,
tbf_change,
-#ifdef CONFIG_RTNETLINK
tbf_dump,
-#endif
};
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)