git: 29ca15158677 - main - rpcbind: Remove return statement at the end of void functions
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 06 Nov 2023 19:07:35 UTC
The branch main has been updated by mhorne:
URL: https://cgit.FreeBSD.org/src/commit/?id=29ca15158677e5b142542d9db18bf7429b40b020
commit 29ca15158677e5b142542d9db18bf7429b40b020
Author: Elyes Haouas <ehaouas@noos.fr>
AuthorDate: 2023-11-03 17:47:01 +0000
Commit: Mitchell Horne <mhorne@FreeBSD.org>
CommitDate: 2023-11-06 19:07:10 +0000
rpcbind: Remove return statement at the end of void functions
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
---
usr.sbin/rpcbind/rpcb_stat.c | 4 ----
1 file changed, 4 deletions(-)
diff --git a/usr.sbin/rpcbind/rpcb_stat.c b/usr.sbin/rpcbind/rpcb_stat.c
index 296fb8206c21..86bb21d91e9f 100644
--- a/usr.sbin/rpcbind/rpcb_stat.c
+++ b/usr.sbin/rpcbind/rpcb_stat.c
@@ -79,7 +79,6 @@ rpcbs_procinfo(rpcvers_t rtype, rpcproc_t proc)
default: return;
}
inf[rtype].info[proc]++;
- return;
}
void
@@ -88,7 +87,6 @@ rpcbs_set(rpcvers_t rtype, bool_t success)
if ((rtype >= RPCBVERS_STAT) || (success == FALSE))
return;
inf[rtype].setinfo++;
- return;
}
void
@@ -97,7 +95,6 @@ rpcbs_unset(rpcvers_t rtype, bool_t success)
if ((rtype >= RPCBVERS_STAT) || (success == FALSE))
return;
inf[rtype].unsetinfo++;
- return;
}
void
@@ -194,7 +191,6 @@ rpcbs_rmtcall(rpcvers_t rtype, rpcproc_t rpcbproc, rpcprog_t prog,
rl->indirect = 1;
rl->next = inf[rtype].rmtinfo;
inf[rtype].rmtinfo = rl;
- return;
}
void *