From: Paul E. McKenney Date: Thu, 17 May 2018 18:09:47 +0000 (-0700) Subject: rcuperf: Remove unused torturing_tasks() function X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=2d3625841dcee549653b6f50ffa4e6431305035a;p=linux.git 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 --- diff --git a/kernel/rcu/rcuperf.c b/kernel/rcu/rcuperf.c index b080bc4a4f456..06eb5e42726db 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. */