提交 c21d4d5d 编写于 作者: P Patrick McHardy 提交者: David S. Miller

[NET_SCHED]: sch_ingress: remove unused inner qdisc

Signed-off-by: NPatrick McHardy <kaber@trash.net>
Acked-by: NJamal Hadi Salim <hadi@cyberus.ca>
Signed-off-by: NDavid S. Miller <davem@davemloft.net>
上级 cb53c048
......@@ -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;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册