summaryrefslogtreecommitdiffstats
path: root/kernel/rcu
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
parent6bea2cc5a97b7e9677088b1a93e27edb74ae0e55 (diff)
downloadtalos-obmc-linux-2d3625841dcee549653b6f50ffa4e6431305035a.tar.gz
talos-obmc-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')
-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.
*/
OpenPOWER on IntegriCloud