net_sched: remove list_head from tc_action
After commit90b73b77d0, list_head is no longer needed. Now we just need to convert the list iteration to array iteration for drivers. Fixes:90b73b77d0("net: sched: change action API to use array of pointers to actions") 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:
committed by
David S. Miller
parent
7d485c451f
commit
244cd96adb
@@ -23,7 +23,6 @@ struct tc_action {
|
||||
const struct tc_action_ops *ops;
|
||||
__u32 type; /* for backward compat(TCA_OLD_COMPAT) */
|
||||
__u32 order;
|
||||
struct list_head list;
|
||||
struct tcf_idrinfo *idrinfo;
|
||||
|
||||
u32 tcfa_index;
|
||||
|
||||
Reference in New Issue
Block a user