diff options
author | Elyes Haouas <ehaouas@noos.fr> | 2023-03-02 14:59:07 +0000 |
---|---|---|
committer | Warner Losh <imp@FreeBSD.org> | 2023-03-02 15:01:39 +0000 |
commit | fce4b0c51d7c2e304df555879046fcc043e69866 (patch) | |
tree | d07608a698582984db0cabbef95aad6b0888d886 /usr.sbin | |
parent | c7846853d3509529f32286901e65474dd5b6bcc9 (diff) | |
download | src-fce4b0c51d7c2e304df555879046fcc043e69866.tar.gz src-fce4b0c51d7c2e304df555879046fcc043e69866.zip |
rpcbind: Remove useless return at the end of void function
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/656
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/rpcbind/rpcb_svc_4.c | 1 | ||||
-rw-r--r-- | usr.sbin/rpcbind/rpcb_svc_com.c | 3 |
2 files changed, 0 insertions, 4 deletions
diff --git a/usr.sbin/rpcbind/rpcb_svc_4.c b/usr.sbin/rpcbind/rpcb_svc_4.c index b6ee61771edf..ac96f3c39f8f 100644 --- a/usr.sbin/rpcbind/rpcb_svc_4.c +++ b/usr.sbin/rpcbind/rpcb_svc_4.c @@ -245,7 +245,6 @@ done: } } } - return; } /* diff --git a/usr.sbin/rpcbind/rpcb_svc_com.c b/usr.sbin/rpcbind/rpcb_svc_com.c index 31cdaf96f074..c6b4930d6972 100644 --- a/usr.sbin/rpcbind/rpcb_svc_com.c +++ b/usr.sbin/rpcbind/rpcb_svc_com.c @@ -1225,7 +1225,6 @@ send_svcsyserr(SVCXPRT *xprt, struct finfo *fi) xprt_set_caller(xprt, fi); svcerr_systemerr(xprt); } - return; } static void @@ -1318,7 +1317,6 @@ done: #endif } else (void) free_slot_by_xid(reply_msg.rm_xid); - return; } static void @@ -1344,7 +1342,6 @@ find_versions(rpcprog_t prog, char *netid, rpcvers_t *lowvp, rpcvers_t *highvp) } *lowvp = lowv; *highvp = highv; - return; } /* |