diff options
-rw-r--r-- | net/ipv4/fib_trie.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/net/ipv4/fib_trie.c b/net/ipv4/fib_trie.c index 72b3036bbc09..ada9b3db507d 100644 --- a/net/ipv4/fib_trie.c +++ b/net/ipv4/fib_trie.c | |||
@@ -1527,7 +1527,6 @@ static int trie_leaf_remove(struct trie *t, t_key key) | |||
1527 | t->revision++; | 1527 | t->revision++; |
1528 | t->size--; | 1528 | t->size--; |
1529 | 1529 | ||
1530 | preempt_disable(); | ||
1531 | tp = NODE_PARENT(n); | 1530 | tp = NODE_PARENT(n); |
1532 | tnode_free((struct tnode *) n); | 1531 | tnode_free((struct tnode *) n); |
1533 | 1532 | ||
@@ -1537,7 +1536,6 @@ static int trie_leaf_remove(struct trie *t, t_key key) | |||
1537 | rcu_assign_pointer(t->trie, trie_rebalance(t, tp)); | 1536 | rcu_assign_pointer(t->trie, trie_rebalance(t, tp)); |
1538 | } else | 1537 | } else |
1539 | rcu_assign_pointer(t->trie, NULL); | 1538 | rcu_assign_pointer(t->trie, NULL); |
1540 | preempt_enable(); | ||
1541 | 1539 | ||
1542 | return 1; | 1540 | return 1; |
1543 | } | 1541 | } |