diff options
author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-05-17 20:09:47 +0200 |
---|---|---|
committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-13 00:42:02 +0200 |
commit | 2d3625841dcee549653b6f50ffa4e6431305035a (patch) | |
tree | df7463abc7e7790323b7988219e71381ca4ff049 /kernel/rcu/rcuperf.c | |
parent | rcu: Remove rcutorture test version and sequence number (diff) | |
download | linux-2d3625841dcee549653b6f50ffa4e6431305035a.tar.xz linux-2d3625841dcee549653b6f50ffa4e6431305035a.zip |
rcuperf: Remove unused torturing_tasks() function
The torturing_tasks() function in rcuperf.c is not used, so this commit
removes it.
Signed-off-by: Paul E. McKenney <paulmck@linux.vnet.ibm.com>
Diffstat (limited to 'kernel/rcu/rcuperf.c')
-rw-r--r-- | kernel/rcu/rcuperf.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/kernel/rcu/rcuperf.c b/kernel/rcu/rcuperf.c index b080bc4a4f45..06eb5e42726d 100644 --- a/kernel/rcu/rcuperf.c +++ b/kernel/rcu/rcuperf.c @@ -369,11 +369,6 @@ static unsigned long rcuperf_seq_diff(unsigned long new, unsigned long old) return cur_ops->gp_diff(new, old); } -static bool __maybe_unused torturing_tasks(void) -{ - return cur_ops == &tasks_ops; -} - /* * If performance tests complete, wait for shutdown to commence. */ |