aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/rcu/rcuperf.c
diff options
context:
space:
mode:
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-05-17 11:09:47 -0700
committerPaul E. McKenney <paulmck@linux.vnet.ibm.com>2018-07-12 15:42:02 -0700
commit2d3625841dcee549653b6f50ffa4e6431305035a (patch)
treedf7463abc7e7790323b7988219e71381ca4ff049 /kernel/rcu/rcuperf.c
parentrcu: Remove rcutorture test version and sequence number (diff)
downloadlinux-dev-2d3625841dcee549653b6f50ffa4e6431305035a.tar.xz
linux-dev-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.c5
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.
*/