diff options
author | Davide Caratti <dcaratti@redhat.com> | 2019-11-12 15:33:11 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-11-12 12:11:22 -0800 |
commit | e0e2b35b790fefbcff5689984a134cdaa4ce051c (patch) | |
tree | a6e5f511cb7d967156b24accc72940935437e916 /net/sched | |
parent | 4e4637b10374ede3cd33d7e1b389e6cea6343ea3 (diff) | |
download | linux-e0e2b35b790fefbcff5689984a134cdaa4ce051c.tar.gz linux-e0e2b35b790fefbcff5689984a134cdaa4ce051c.tar.bz2 linux-e0e2b35b790fefbcff5689984a134cdaa4ce051c.zip |
net/sched: actions: remove unused 'order'
after commit 4097e9d250fb ("net: sched: don't use tc_action->order during
action dump"), 'act->order' is initialized but then it's no more read, so
we can just remove this member of struct tc_action.
CC: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: Davide Caratti <dcaratti@redhat.com>
Acked-by: Jiri Pirko <jiri@mellanox.com>
Reviewed-by: Ivan Vecera <ivecera@redhat.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net/sched')
-rw-r--r-- | net/sched/act_api.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/net/sched/act_api.c b/net/sched/act_api.c index bda1ba25c59e..7fc1e2c1b656 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -1003,7 +1003,6 @@ int tcf_action_init(struct net *net, struct tcf_proto *tp, struct nlattr *nla, err = PTR_ERR(act); goto err; } - act->order = i; sz += tcf_action_fill_size(act); /* Start from index 0 */ actions[i - 1] = act; |