diff options
Diffstat (limited to 'kernel/rcu/srcutree.c')
-rw-r--r-- | kernel/rcu/srcutree.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/rcu/srcutree.c b/kernel/rcu/srcutree.c index d582a2352cdb..f962f4428c39 100644 --- a/kernel/rcu/srcutree.c +++ b/kernel/rcu/srcutree.c | |||
@@ -532,7 +532,6 @@ static void srcu_gp_end(struct srcu_struct *sp) | |||
532 | unsigned long flags; | 532 | unsigned long flags; |
533 | unsigned long gpseq; | 533 | unsigned long gpseq; |
534 | int idx; | 534 | int idx; |
535 | int idxnext; | ||
536 | unsigned long mask; | 535 | unsigned long mask; |
537 | struct srcu_data *sdp; | 536 | struct srcu_data *sdp; |
538 | struct srcu_node *snp; | 537 | struct srcu_node *snp; |
@@ -556,7 +555,6 @@ static void srcu_gp_end(struct srcu_struct *sp) | |||
556 | 555 | ||
557 | /* Initiate callback invocation as needed. */ | 556 | /* Initiate callback invocation as needed. */ |
558 | idx = rcu_seq_ctr(gpseq) % ARRAY_SIZE(snp->srcu_have_cbs); | 557 | idx = rcu_seq_ctr(gpseq) % ARRAY_SIZE(snp->srcu_have_cbs); |
559 | idxnext = (idx + 1) % ARRAY_SIZE(snp->srcu_have_cbs); | ||
560 | rcu_for_each_node_breadth_first(sp, snp) { | 558 | rcu_for_each_node_breadth_first(sp, snp) { |
561 | spin_lock_irq_rcu_node(snp); | 559 | spin_lock_irq_rcu_node(snp); |
562 | cbs = false; | 560 | cbs = false; |