From mboxrd@z Thu Jan 1 00:00:00 1970 From: Cong Wang Subject: [Patch net 3/9] net_sched: remove unused parameter for tcf_action_delete() Date: Sun, 19 Aug 2018 12:22:07 -0700 Message-ID: <20180819192213.14196-4-xiyou.wangcong@gmail.com> References: <20180819192213.14196-1-xiyou.wangcong@gmail.com> Cc: jhs@mojatatu.com, Cong Wang , Jiri Pirko , Vlad Buslov To: netdev@vger.kernel.org Return-path: Received: from mail-pl0-f66.google.com ([209.85.160.66]:33054 "EHLO mail-pl0-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726436AbeHSWfC (ORCPT ); Sun, 19 Aug 2018 18:35:02 -0400 Received: by mail-pl0-f66.google.com with SMTP id b90-v6so6015579plb.0 for ; Sun, 19 Aug 2018 12:22:30 -0700 (PDT) In-Reply-To: <20180819192213.14196-1-xiyou.wangcong@gmail.com> Sender: netdev-owner@vger.kernel.org List-ID: Fixes: 16af6067392c ("net: sched: implement reference counted action release") Cc: Jiri Pirko Cc: Vlad Buslov Signed-off-by: Cong Wang --- net/sched/act_api.c | 5 ++--- 1 file 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 @@ static int tca_action_flush(struct net *net, struct nlattr *nla, 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); -- 2.14.4