mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-15 21:05:08 +00:00
rpcbind: Remove return statement at the end of void functions
Signed-off-by: Elyes Haouas <ehaouas@noos.fr>
This commit is contained in:
parent
6e90567dde
commit
29ca151586
|
@ -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 *
|
||||
|
|
Loading…
Reference in a new issue