]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
rcuperf: Remove unused torturing_tasks() function
authorPaul E. McKenney <paulmck@linux.vnet.ibm.com>
Thu, 17 May 2018 18:09:47 +0000 (11:09 -0700)
committerPaul 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

index b080bc4a4f456ac94e9289525dd1159517db4f3c..06eb5e42726db9b8bdfee8cc6648e35984efbe73 100644 (file)
@@ -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.
  */