]> git.baikalelectronics.ru Git - kernel.git/commit
net_sched: remove an unnecessary list_del()
authorWANG Cong <xiyou.wangcong@gmail.com>
Sun, 14 Aug 2016 05:34:57 +0000 (22:34 -0700)
committerDavid S. Miller <davem@davemloft.net>
Wed, 17 Aug 2016 23:27:51 +0000 (19:27 -0400)
commite63f4be61014d43b88d9bd084d5d06e76a4f6838
tree00da5bea6f8fbd3f2e56f350c35097d78996f5fb
parentf1431ad3597b57c750cbc1c9d8dad92bcae98b15
net_sched: remove an unnecessary list_del()

This list_del() for tc action is not needed actually,
because we only use this list to chain bulk operations,
therefore should not be carried for latter operations.

Fixes: 0abd7d00ad8e ("net_sched: get rid of struct tcf_common")
Cc: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: Cong Wang <xiyou.wangcong@gmail.com>
Acked-by: Jamal Hadi Salim <jhs@mojatatu.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
net/sched/act_api.c