Эх сурвалжийг харах

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>
Paul E. McKenney 7 жил өмнө
parent
commit
2d3625841d
1 өөрчлөгдсөн 0 нэмэгдсэн , 5 устгасан
  1. 0 5
      kernel/rcu/rcuperf.c

+ 0 - 5
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.
  */