diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-06-13 15:30:00 -0700 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2013-07-15 16:58:33 -0700 |
commit | 535755fb30d53c21619d064df942f76d1e2d4930 (patch) | |
tree | 2ef3a722bb23eb59a920674f8f667fd80acb5878 /kernel | |
parent | 6a90954740a5ee2e2ec698b1ba5afc93f8193578 (diff) |
rcu: Remove unused variable from rcu_torture_writer()
The oldbatch variable in rcu_torture_writer() is stored to, but never
loaded from. This commit therefore removes it.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel')
-rw-r--r-- | kernel/rcutorture.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/kernel/rcutorture.c b/kernel/rcutorture.c index 296a786c0717..257eba17c2fd 100644 --- a/kernel/rcutorture.c +++ b/kernel/rcutorture.c @@ -800,7 +800,6 @@ rcu_torture_writer(void *arg) { bool exp; int i; - long oldbatch = rcu_batches_completed(); struct rcu_torture *rp; struct rcu_torture *rp1; struct rcu_torture *old_rp; @@ -854,7 +853,6 @@ rcu_torture_writer(void *arg) } } rcutorture_record_progress(++rcu_torture_current_version); - oldbatch = cur_ops->completed(); rcu_stutter_wait("rcu_torture_writer"); } while (!kthread_should_stop() && fullstop == FULLSTOP_DONTSTOP); VERBOSE_PRINTK_STRING("rcu_torture_writer task stopping"); |