From 29ca15158677e5b142542d9db18bf7429b40b020 Mon Sep 17 00:00:00 2001 From: Elyes Haouas Date: Fri, 3 Nov 2023 18:47:01 +0100 Subject: [PATCH] rpcbind: Remove return statement at the end of void functions Signed-off-by: Elyes Haouas --- 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 296fb8206c2..86bb21d91e9 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 *