aboutsummaryrefslogtreecommitdiffstats
path: root/include/net/act_api.h
diff options
context:
space:
mode:
authorDavide Caratti <dcaratti@redhat.com>2019-11-12 15:33:11 +0100
committerDavid S. Miller <davem@davemloft.net>2019-11-12 12:11:22 -0800
commite0e2b35b790fefbcff5689984a134cdaa4ce051c (patch)
treea6e5f511cb7d967156b24accc72940935437e916 /include/net/act_api.h
parentnet: dsa: mv88e6xxx: fix broken if statement because of a stray semicolon (diff)
downloadlinux-dev-e0e2b35b790fefbcff5689984a134cdaa4ce051c.tar.xz
linux-dev-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 'include/net/act_api.h')
-rw-r--r--include/net/act_api.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/include/net/act_api.h b/include/net/act_api.h
index 0495bdc034d2..71347a90a9d1 100644
--- a/include/net/act_api.h
+++ b/include/net/act_api.h
@@ -23,7 +23,6 @@ struct tc_action_ops;
struct tc_action {
const struct tc_action_ops *ops;
__u32 type; /* for backward compat(TCA_OLD_COMPAT) */
- __u32 order;
struct tcf_idrinfo *idrinfo;
u32 tcfa_index;