Skip to content

Commit

Permalink
[NET_SCHED]: sch_ingress: remove unused inner qdisc
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jan 28, 2008
1 parent cb53c04 commit c21d4d5
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions net/sched/sch_ingress.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@ static int nf_registered;
#endif

struct ingress_qdisc_data {
struct Qdisc *q;
struct tcf_proto *filter_list;
};

Expand Down Expand Up @@ -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
Expand All @@ -202,7 +199,6 @@ static int ingress_init(struct Qdisc *sch, struct rtattr *opt)
}
#endif
#endif
p->q = &noop_qdisc;
return 0;
}

Expand Down

0 comments on commit c21d4d5

Please sign in to comment.