diff options
author | Patrick McHardy <kaber@trash.net> | 2008-01-21 00:12:10 -0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2008-01-28 15:08:19 -0800 |
commit | c21d4d5dd27329c30c5129d5dbc4942456af361c (patch) | |
tree | f61f725fa47cdef433eeabcc2ee6df415199a623 /net/sched/sch_ingress.c | |
parent | cb53c048912976d1d81b8f3475463788f462eebd (diff) | |
download | op-kernel-dev-c21d4d5dd27329c30c5129d5dbc4942456af361c.zip op-kernel-dev-c21d4d5dd27329c30c5129d5dbc4942456af361c.tar.gz |
[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/sch_ingress.c')
-rw-r--r-- | net/sched/sch_ingress.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/net/sched/sch_ingress.c b/net/sched/sch_ingress.c index cb8ba8b..d803cd1 100644 --- a/net/sched/sch_ingress.c +++ b/net/sched/sch_ingress.c @@ -27,7 +27,6 @@ static int nf_registered; #endif struct ingress_qdisc_data { - struct Qdisc *q; struct tcf_proto *filter_list; }; @@ -178,8 +177,6 @@ static struct nf_hook_ops ing_ops[] __read_mostly = { static int ingress_init(struct Qdisc *sch, struct rtattr *opt) { - struct ingress_qdisc_data *p = qdisc_priv(sch); - /* Make sure either netfilter or preferably CLS_ACT is * compiled in */ #ifndef CONFIG_NET_CLS_ACT @@ -202,7 +199,6 @@ static int ingress_init(struct Qdisc *sch, struct rtattr *opt) } #endif #endif - p->q = &noop_qdisc; return 0; } |