diff options
Diffstat (limited to 'net/sched/sch_sfq.c')
-rw-r--r-- | net/sched/sch_sfq.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/net/sched/sch_sfq.c b/net/sched/sch_sfq.c index 65c3906b4..7a90df655 100644 --- a/net/sched/sch_sfq.c +++ b/net/sched/sch_sfq.c @@ -12,7 +12,6 @@ #include <asm/uaccess.h> #include <asm/system.h> #include <asm/bitops.h> -#include <linux/config.h> #include <linux/module.h> #include <linux/types.h> #include <linux/kernel.h> @@ -174,7 +173,7 @@ static __inline__ void sfq_drop(struct sfq_sched_data *q) sfq_index x = q->dep[d].next; skb = q->qs[x].prev; __skb_unlink(skb, &q->qs[x]); - kfree_skb(skb, FREE_WRITE); + kfree_skb(skb); sfq_dec(q, x); /* sch->q.qlen--; @@ -189,7 +188,7 @@ static __inline__ void sfq_drop(struct sfq_sched_data *q) q->allot[q->next[d]] += q->quantum; skb = q->qs[d].prev; __skb_unlink(skb, &q->qs[d]); - kfree_skb(skb, FREE_WRITE); + kfree_skb(skb); sfq_dec(q, d); /* sch->q.qlen--; @@ -271,7 +270,7 @@ sfq_reset(struct Qdisc* sch) struct sk_buff *skb; while ((skb = sfq_dequeue(sch)) != NULL) - kfree_skb(skb, FREE_WRITE); + kfree_skb(skb); } |