Commit 66c898ca authored by J. Bruce Fields's avatar J. Bruce Fields

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: default avatarJ. Bruce Fields <bfields@redhat.com>
parent 1602a7b7
...@@ -361,7 +361,7 @@ static void svc_xprt_release_slot(struct svc_rqst *rqstp) ...@@ -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; unsigned long xpt_flags;
...@@ -385,7 +385,7 @@ void svc_xprt_do_enqueue(struct svc_xprt *xprt) ...@@ -385,7 +385,7 @@ void svc_xprt_do_enqueue(struct svc_xprt *xprt)
struct svc_rqst *rqstp = NULL; struct svc_rqst *rqstp = NULL;
int cpu; int cpu;
if (!svc_xprt_has_something_to_do(xprt)) if (!svc_xprt_ready(xprt))
return; return;
/* Mark transport as busy. It will remain in this state until /* Mark transport as busy. It will remain in this state until
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment