patch-2.4.17 linux/net/sched/sch_dsmark.c
Next file: linux/net/sched/sch_fifo.c
Previous file: linux/net/sched/sch_csz.c
Back to the patch index
Back to the overall index
- Lines: 39
- Date:
Fri Dec 21 16:40:33 2001
- Orig file:
linux-2.4.16/net/sched/sch_dsmark.c
- Orig date:
Sun Sep 30 19:26:09 2001
diff -Naur -X /home/marcelo/lib/dontdiff linux-2.4.16/net/sched/sch_dsmark.c linux/net/sched/sch_dsmark.c
@@ -385,8 +385,6 @@
}
-#ifdef CONFIG_RTNETLINK
-
static int dsmark_dump_class(struct Qdisc *sch, unsigned long cl,
struct sk_buff *skb, struct tcmsg *tcm)
{
@@ -434,9 +432,6 @@
return -1;
}
-#endif
-
-
static struct Qdisc_class_ops dsmark_class_ops =
{
dsmark_graft, /* graft */
@@ -451,9 +446,7 @@
dsmark_bind_filter, /* bind_tcf */
dsmark_put, /* unbind_tcf */
-#ifdef CONFIG_RTNETLINK
dsmark_dump_class, /* dump */
-#endif
};
struct Qdisc_ops dsmark_qdisc_ops =
@@ -473,9 +466,7 @@
dsmark_destroy, /* destroy */
NULL, /* change */
-#ifdef CONFIG_RTNETLINK
dsmark_dump /* dump */
-#endif
};
#ifdef MODULE
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)