diff options
author | Cong Wang <xiyou.wangcong@gmail.com> | 2018-08-19 12:22:09 -0700 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2018-08-21 12:45:44 -0700 |
commit | 244cd96adb5f5ab39551081fb1f9009a54bb12ee (patch) | |
tree | d3c9fee9d752278765efd4aef56a82ff900747de /net/sched | |
parent | 7d485c451fc82f8ae431cdb379521bc6d0641064 (diff) | |
download | linux-stable-244cd96adb5f5ab39551081fb1f9009a54bb12ee.tar.gz linux-stable-244cd96adb5f5ab39551081fb1f9009a54bb12ee.tar.bz2 linux-stable-244cd96adb5f5ab39551081fb1f9009a54bb12ee.zip |
net_sched: remove list_head from tc_action
After commit 90b73b77d08e, list_head is no longer needed.
Now we just need to convert the list iteration to array
iteration for drivers.
Fixes: 90b73b77d08e ("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>
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 d76948f02a02..db83dac1e7f4 100644 --- a/net/sched/act_api.c +++ b/net/sched/act_api.c @@ -391,7 +391,6 @@ int tcf_idr_create(struct tc_action_net *tn, u32 index, struct nlattr *est, p->idrinfo = idrinfo; p->ops = ops; - INIT_LIST_HEAD(&p->list); *a = p; return 0; err3: |