projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6bea2cc
)
rcuperf: Remove unused torturing_tasks() function
author
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Thu, 17 May 2018 18:09:47 +0000
(11:09 -0700)
committer
Paul E. McKenney
<paulmck@linux.vnet.ibm.com>
Thu, 12 Jul 2018 22:42:02 +0000
(15:42 -0700)
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>
kernel/rcu/rcuperf.c
patch
|
blob
|
history
diff --git
a/kernel/rcu/rcuperf.c
b/kernel/rcu/rcuperf.c
index b080bc4a4f456ac94e9289525dd1159517db4f3c..06eb5e42726db9b8bdfee8cc6648e35984efbe73 100644
(file)
--- 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.
*/