aboutsummaryrefslogtreecommitdiffstats
path: root/net/sunrpc
diff options
context:
space:
mode:
authorNeilBrown <neilb@suse.de>2023-07-31 16:48:29 +1000
committerChuck Lever <chuck.lever@oracle.com>2023-08-29 17:45:22 -0400
commit2a4557452aacf9e7168cb83bc102467094ff9391 (patch)
treeb8ace9969eff979b752a5396ee37f02a8f260886 /net/sunrpc
parent6859d1f2902c600f6b1c587c91408a91e05cdc02 (diff)
downloadlinux-2a4557452aacf9e7168cb83bc102467094ff9391.tar.gz
SUNRPC: Remove return value of svc_pool_wake_idle_thread()
The returned value is not used (any more), so don't return it. Signed-off-by: NeilBrown <neilb@suse.de> Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc')
-rw-r--r--net/sunrpc/svc.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/net/sunrpc/svc.c b/net/sunrpc/svc.c
index af692bff44ab6..dc21e6c732db3 100644
--- a/net/sunrpc/svc.c
+++ b/net/sunrpc/svc.c
@@ -697,11 +697,8 @@ svc_prepare_thread(struct svc_serv *serv, struct svc_pool *pool, int node)
* service thread and marking it BUSY is atomic with respect to
* other calls to svc_pool_wake_idle_thread().
*
- * Return value:
- * %true: An idle thread was awoken
- * %false: No idle thread was found
*/
-bool svc_pool_wake_idle_thread(struct svc_pool *pool)
+void svc_pool_wake_idle_thread(struct svc_pool *pool)
{
struct svc_rqst *rqstp;
@@ -715,12 +712,11 @@ bool svc_pool_wake_idle_thread(struct svc_pool *pool)
rcu_read_unlock();
percpu_counter_inc(&pool->sp_threads_woken);
trace_svc_wake_up(rqstp->rq_task->pid);
- return true;
+ return;
}
rcu_read_unlock();
set_bit(SP_CONGESTED, &pool->sp_flags);
- return false;
}
static struct svc_pool *