diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2018-08-19 12:22:07 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-21 12:45:44 -0700 |
commit | b144e7ec51a132eac00a68bf897b6349d810022f (patch) | |
tree | b4b8fcab9c4e62ce21645b396cfdc437dec7a7d9 /net/sched | |
parent | 97a3f84f2c84f81b859aedd2c186df09c2ee21a6 (diff) | |
download | blackbird-obmc-linux-b144e7ec51a132eac00a68bf897b6349d810022f.tar.gz blackbird-obmc-linux-b144e7ec51a132eac00a68bf897b6349d810022f.zip |
net_sched: remove unused parameter for tcf_action_delete()
Fixes: 16af6067392c ("net: sched: implement reference counted action release")
Cc: Jiri Pirko <jiri@mellanox.com>
Cc: Vlad Buslov <vladbu@mellanox.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/act_api.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c index 00bf7d2b0bdd..ba55226928a3 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -1177,8 +1177,7 @@ err_out: return err; } -static int tcf_action_delete(struct net *net, struct tc_action *actions[], - struct netlink_ext_ack *extack) +static int tcf_action_delete(struct net *net, struct tc_action *actions[]) { int i; @@ -1227,7 +1226,7 @@ tcf_del_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[], } /* now do the delete */ - ret = tcf_action_delete(net, actions, extack); + ret = tcf_action_delete(net, actions); if (ret < 0) { NL_SET_ERR_MSG(extack, "Failed to delete TC action"); kfree_skb(skb); |