Skip to content

Commit

Permalink
svcrpc: svc_xprt_has_something_to_do seems a little long
Browse files Browse the repository at this point in the history
The long name seemed cute till I wanted to refer to it somewhere else.

Signed-off-by: J. Bruce Fields <[email protected]>
  • Loading branch information
J. Bruce Fields committed Feb 6, 2019
1 parent 1602a7b commit 66c898c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions net/sunrpc/svc_xprt.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand All @@ -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
Expand Down

0 comments on commit 66c898c

Please sign in to comment.