]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - net/sched/cls_basic.c
net_sched: remove the first parameter from tcf_exts_destroy()
[mirror_ubuntu-artful-kernel.git] / net / sched / cls_basic.c
index 1937298d677557176dbee8a96ecdbfba632c1df0..fe20826a79e743a9a18de5d3568d0ea3d27d8f71 100644 (file)
@@ -94,7 +94,7 @@ static void basic_delete_filter(struct rcu_head *head)
        struct tcf_proto *tp = f->tp;
 
        tcf_unbind_filter(tp, &f->res);
-       tcf_exts_destroy(tp, &f->exts);
+       tcf_exts_destroy(&f->exts);
        tcf_em_tree_destroy(tp, &f->ematches);
        kfree(f);
 }
@@ -161,7 +161,7 @@ static int basic_set_parms(struct net *net, struct tcf_proto *tp,
 
        return 0;
 errout:
-       tcf_exts_destroy(tp, &e);
+       tcf_exts_destroy(&e);
        return err;
 }