summaryrefslogtreecommitdiffstats
path: root/kernel/net/sched/cls_tcindex.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/net/sched/cls_tcindex.c')
-rw-r--r--kernel/net/sched/cls_tcindex.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/kernel/net/sched/cls_tcindex.c b/kernel/net/sched/cls_tcindex.c
index 944c8ff45..403746b20 100644
--- a/kernel/net/sched/cls_tcindex.c
+++ b/kernel/net/sched/cls_tcindex.c
@@ -503,7 +503,6 @@ static bool tcindex_destroy(struct tcf_proto *tp, bool force)
walker.fn = tcindex_destroy_element;
tcindex_walk(tp, &walker);
- RCU_INIT_POINTER(tp->root, NULL);
call_rcu(&p->rcu, __tcindex_destroy);
return true;
}