From: J. Bruce Fields Date: Fri, 11 Jan 2019 20:57:09 +0000 (-0500) Subject: svcrpc: svc_xprt_has_something_to_do seems a little long X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=66c898caefd346a88fbef242eb7892fd959308f6;p=linux.git svcrpc: svc_xprt_has_something_to_do seems a little long The long name seemed cute till I wanted to refer to it somewhere else. Signed-off-by: J. Bruce Fields --- diff --git a/net/sunrpc/svc_xprt.c b/net/sunrpc/svc_xprt.c index c3af1aaef551a..a2435d3811a99 100644 --- a/net/sunrpc/svc_xprt.c +++ b/net/sunrpc/svc_xprt.c @@ -361,7 +361,7 @@ static void svc_xprt_release_slot(struct svc_rqst *rqstp) } } -static bool svc_xprt_has_something_to_do(struct svc_xprt *xprt) +static bool svc_xprt_ready(struct svc_xprt *xprt) { unsigned long xpt_flags; @@ -385,7 +385,7 @@ void svc_xprt_do_enqueue(struct svc_xprt *xprt) struct svc_rqst *rqstp = NULL; int cpu; - if (!svc_xprt_has_something_to_do(xprt)) + if (!svc_xprt_ready(xprt)) return; /* Mark transport as busy. It will remain in this state until