summaryrefslogtreecommitdiffstats
path: root/net/sched/cls_rsvp.h
diff options
context:
space:
mode:
authorWANG Cong <xiyou.wangcong@gmail.com>2014-09-25 19:26:37 +0200
committerDavid S. Miller <davem@davemloft.net>2014-09-28 23:29:01 +0200
commit18d0264f630e200772bf236ac5747c47e908501e (patch)
tree1881985374a2411bf9262e1e5977c8f4efd39849 /net/sched/cls_rsvp.h
parentmlx4: exploit skb->xmit_more to conditionally send doorbell (diff)
downloadlinux-18d0264f630e200772bf236ac5747c47e908501e.tar.xz
linux-18d0264f630e200772bf236ac5747c47e908501e.zip
net_sched: remove the first parameter from tcf_exts_destroy()
Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Acked-by: Jamal Hadi Salim <hadi@mojatatu.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/cls_rsvp.h')
-rw-r--r--net/sched/cls_rsvp.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/sched/cls_rsvp.h b/net/sched/cls_rsvp.h
index b044c208b133..1c64a09753c4 100644
--- a/net/sched/cls_rsvp.h
+++ b/net/sched/cls_rsvp.h
@@ -264,7 +264,7 @@ static void
rsvp_delete_filter(struct tcf_proto *tp, struct rsvp_filter *f)
{
tcf_unbind_filter(tp, &f->res);
- tcf_exts_destroy(tp, &f->exts);
+ tcf_exts_destroy(&f->exts);
kfree_rcu(f, rcu);
}
@@ -577,7 +577,7 @@ insert:
errout:
kfree(f);
errout2:
- tcf_exts_destroy(tp, &e);
+ tcf_exts_destroy(&e);
return err;
}