rpcbind: Remove return statement at the end of void functions

Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
Elyes Haouas 2023-11-03 18:47:01 +01:00 committed by Mitchell Horne
parent 6e90567dde
commit 29ca151586

View file

@ -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 *