aboutsummaryrefslogtreecommitdiffstats
path: root/net/sched
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2008-01-21 03:12:10 -0500
committerDavid S. Miller <davem@davemloft.net>2008-01-28 18:08:19 -0500
commitc21d4d5dd27329c30c5129d5dbc4942456af361c (patch)
treef61f725fa47cdef433eeabcc2ee6df415199a623 /net/sched
parentcb53c048912976d1d81b8f3475463788f462eebd (diff)
[NET_SCHED]: sch_ingress: remove unused inner qdisc
Signed-off-by: Patrick McHardy <kaber@trash.net> Acked-by: Jamal Hadi Salim <hadi@cyberus.ca> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r--net/sched/sch_ingress.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/net/sched/sch_ingress.c b/net/sched/sch_ingress.c
index cb8ba8b1ad39..d803cd137629 100644
--- a/net/sched/sch_ingress.c
+++ b/net/sched/sch_ingress.c
@@ -27,7 +27,6 @@ static int nf_registered;
27#endif 27#endif
28 28
29struct ingress_qdisc_data { 29struct ingress_qdisc_data {
30 struct Qdisc *q;
31 struct tcf_proto *filter_list; 30 struct tcf_proto *filter_list;
32}; 31};
33 32
@@ -178,8 +177,6 @@ static struct nf_hook_ops ing_ops[] __read_mostly = {
178 177
179static int ingress_init(struct Qdisc *sch, struct rtattr *opt) 178static int ingress_init(struct Qdisc *sch, struct rtattr *opt)
180{ 179{
181 struct ingress_qdisc_data *p = qdisc_priv(sch);
182
183 /* Make sure either netfilter or preferably CLS_ACT is 180 /* Make sure either netfilter or preferably CLS_ACT is
184 * compiled in */ 181 * compiled in */
185#ifndef CONFIG_NET_CLS_ACT 182#ifndef CONFIG_NET_CLS_ACT
@@ -202,7 +199,6 @@ static int ingress_init(struct Qdisc *sch, struct rtattr *opt)
202 } 199 }
203#endif 200#endif
204#endif 201#endif
205 p->q = &noop_qdisc;
206 return 0; 202 return 0;
207} 203}
208 204