summaryrefslogtreecommitdiff
path: root/net/sunrpc/svc_xprt.c
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2022-05-10 18:45:53 +0300
committerChuck Lever <chuck.lever@oracle.com>2022-05-19 19:25:40 +0300
commit2059b698a2efcce3c67b0e61eab7d7680bbe10bd (patch)
tree5336a5b376ecd8314707ee847470a94ac9345197 /net/sunrpc/svc_xprt.c
parent586095d339b1b46f4283863e6e8e15de662a3f93 (diff)
downloadlinux-2059b698a2efcce3c67b0e61eab7d7680bbe10bd.tar.xz
SUNRPC: Simplify synopsis of svc_pool_for_cpu()
Clean up: There is one caller. The @cpu argument can be made implicit now that a get_cpu/put_cpu pair is no longer needed. Signed-off-by: Chuck Lever <chuck.lever@oracle.com>
Diffstat (limited to 'net/sunrpc/svc_xprt.c')
-rw-r--r--net/sunrpc/svc_xprt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c
index 66cf720853bb..5df90bca10ed 100644
--- a/net/sunrpc/svc_xprt.c
+++ b/net/sunrpc/svc_xprt.c
@@ -460,7 +460,7 @@ void svc_xprt_enqueue(struct svc_xprt *xprt)
if (test_and_set_bit(XPT_BUSY, &xprt->xpt_flags))
return;
- pool = svc_pool_for_cpu(xprt->xpt_server, raw_smp_processor_id());
+ pool = svc_pool_for_cpu(xprt->xpt_server);
atomic_long_inc(&pool->sp_stats.packets);