diff options
| author | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-05-17 14:09:47 -0400 |
|---|---|---|
| committer | Paul E. McKenney <paulmck@linux.vnet.ibm.com> | 2018-07-12 18:42:02 -0400 |
| commit | 2d3625841dcee549653b6f50ffa4e6431305035a (patch) | |
| tree | df7463abc7e7790323b7988219e71381ca4ff049 /kernel/rcu | |
| parent | 6bea2cc5a97b7e9677088b1a93e27edb74ae0e55 (diff) | |
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.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) | |||
| 369 | return cur_ops->gp_diff(new, old); | 369 | return cur_ops->gp_diff(new, old); |
| 370 | } | 370 | } |
| 371 | 371 | ||
| 372 | static bool __maybe_unused torturing_tasks(void) | ||
| 373 | { | ||
| 374 | return cur_ops == &tasks_ops; | ||
| 375 | } | ||
| 376 | |||
| 377 | /* | 372 | /* |
| 378 | * If performance tests complete, wait for shutdown to commence. | 373 | * If performance tests complete, wait for shutdown to commence. |
| 379 | */ | 374 | */ |
