mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/next/linux-next.git
synced 2025-01-17 05:45:20 +00:00
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>
This commit is contained in:
parent
97a3f84f2c
commit
b144e7ec51
@ -1177,8 +1177,7 @@ err_out:
|
|||||||
return err;
|
return err;
|
||||||
}
|
}
|
||||||
|
|
||||||
static int tcf_action_delete(struct net *net, struct tc_action *actions[],
|
static int tcf_action_delete(struct net *net, struct tc_action *actions[])
|
||||||
struct netlink_ext_ack *extack)
|
|
||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
@ -1227,7 +1226,7 @@ tcf_del_notify(struct net *net, struct nlmsghdr *n, struct tc_action *actions[],
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* now do the delete */
|
/* now do the delete */
|
||||||
ret = tcf_action_delete(net, actions, extack);
|
ret = tcf_action_delete(net, actions);
|
||||||
if (ret < 0) {
|
if (ret < 0) {
|
||||||
NL_SET_ERR_MSG(extack, "Failed to delete TC action");
|
NL_SET_ERR_MSG(extack, "Failed to delete TC action");
|
||||||
kfree_skb(skb);
|
kfree_skb(skb);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user