summaryrefslogtreecommitdiffstats
path: root/include/linux/sunrpc
diff options
context:
space:
mode:
authorChuck Lever <chuck.lever@oracle.com>2018-03-27 10:49:38 -0400
committerJ. Bruce Fields <bfields@redhat.com>2018-04-03 15:08:09 -0400
commit989f881ebf77d70e883dd0fbcfa04a058d97f771 (patch)
tree2c9ab7de3394a05cc07f69062d63265627cbd25f /include/linux/sunrpc
parent63a1b1569372860fdef9e25edfc2320766b2f4c2 (diff)
downloadlinux-989f881ebf77d70e883dd0fbcfa04a058d97f771.tar.gz
linux-989f881ebf77d70e883dd0fbcfa04a058d97f771.tar.bz2
linux-989f881ebf77d70e883dd0fbcfa04a058d97f771.zip
svc: Simplify ->xpo_secure_port
Clean up: Instead of returning a value that is used to set or clear a bit, just make ->xpo_secure_port mangle that bit, and return void. Signed-off-by: Chuck Lever <chuck.lever@oracle.com> Signed-off-by: J. Bruce Fields <bfields@redhat.com>
Diffstat (limited to 'include/linux/sunrpc')
-rw-r--r--include/linux/sunrpc/svc_xprt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/sunrpc/svc_xprt.h b/include/linux/sunrpc/svc_xprt.h
index 1caf7bc83306..19475acb68ea 100644
--- a/include/linux/sunrpc/svc_xprt.h
+++ b/include/linux/sunrpc/svc_xprt.h
@@ -25,7 +25,7 @@ struct svc_xprt_ops {
void (*xpo_release_rqst)(struct svc_rqst *);
void (*xpo_detach)(struct svc_xprt *);
void (*xpo_free)(struct svc_xprt *);
- int (*xpo_secure_port)(struct svc_rqst *);
+ void (*xpo_secure_port)(struct svc_rqst *rqstp);
void (*xpo_kill_temp_xprt)(struct svc_xprt *);
};