summaryrefslogtreecommitdiffstats
path: root/net/sched/act_mirred.c
diff options
context:
space:
mode:
authorCong Wang2017-12-05 21:53:07 +0100
committerDavid S. Miller2017-12-06 00:07:58 +0100
commit9a63b255dffd6de31fe47a80d16d26d0291d3714 (patch)
treed70a3d947f0272293c1b0f0a2542b5b508a5474f /net/sched/act_mirred.c
parentMerge branch 'dsa-use-per-port-upstream-port' (diff)
downloadkernel-qcow2-linux-9a63b255dffd6de31fe47a80d16d26d0291d3714.tar.gz
kernel-qcow2-linux-9a63b255dffd6de31fe47a80d16d26d0291d3714.tar.xz
kernel-qcow2-linux-9a63b255dffd6de31fe47a80d16d26d0291d3714.zip
net_sched: remove unused parameter from act cleanup ops
No one actually uses it. Cc: Jiri Pirko <jiri@mellanox.com> Cc: Jamal Hadi Salim <jhs@mojatatu.com> Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched/act_mirred.c')
-rw-r--r--net/sched/act_mirred.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sched/act_mirred.c b/net/sched/act_mirred.c
index 8b3e59388480..590f56afb985 100644
--- a/net/sched/act_mirred.c
+++ b/net/sched/act_mirred.c
@@ -50,7 +50,7 @@ static bool tcf_mirred_act_wants_ingress(int action)
}
}
-static void tcf_mirred_release(struct tc_action *a, int bind)
+static void tcf_mirred_release(struct tc_action *a)
{
struct tcf_mirred *m = to_mirred(a);
struct net_device *dev;