Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 79294
b: refs/heads/master
c: c6ee877
h: refs/heads/master
v: v3
  • Loading branch information
Patrick McHardy authored and David S. Miller committed Jan 28, 2008
1 parent 3ccfa7f commit d7f7d26
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 25 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: e037834758af82a24c4d390b93e1ce5e280a551a
refs/heads/master: c6ee877f2e4c4d44c934528b4cec6c8d7f54d3ad
24 changes: 0 additions & 24 deletions trunk/net/sched/sch_ingress.c
Original file line number Diff line number Diff line change
Expand Up @@ -118,21 +118,6 @@ static int ingress_enqueue(struct sk_buff *skb, struct Qdisc *sch)
return result;
}

static struct sk_buff *ingress_dequeue(struct Qdisc *sch)
{
return NULL;
}

static int ingress_requeue(struct sk_buff *skb, struct Qdisc *sch)
{
return 0;
}

static unsigned int ingress_drop(struct Qdisc *sch)
{
return 0;
}

#ifndef CONFIG_NET_CLS_ACT
#ifdef CONFIG_NETFILTER
static unsigned int ing_hook(unsigned int hook, struct sk_buff *skb,
Expand Down Expand Up @@ -202,11 +187,6 @@ static int ingress_init(struct Qdisc *sch, struct rtattr *opt)
return 0;
}

static void ingress_reset(struct Qdisc *sch)
{
return;
}

/* ------------------------------------------------------------- */

static void ingress_destroy(struct Qdisc *sch)
Expand Down Expand Up @@ -248,11 +228,7 @@ static struct Qdisc_ops ingress_qdisc_ops __read_mostly = {
.id = "ingress",
.priv_size = sizeof(struct ingress_qdisc_data),
.enqueue = ingress_enqueue,
.dequeue = ingress_dequeue,
.requeue = ingress_requeue,
.drop = ingress_drop,
.init = ingress_init,
.reset = ingress_reset,
.destroy = ingress_destroy,
.dump = ingress_dump,
.owner = THIS_MODULE,
Expand Down

0 comments on commit d7f7d26

Please sign in to comment.