From 341f552d8c069e849fb1d974e487dcaccc297cc8 Mon Sep 17 00:00:00 2001 From: "Pedro F. Giffuni" Date: Mon, 11 Apr 2016 18:09:38 +0000 Subject: libc: cleanup unnecessary semicolons (part 2). Found with devel/coccinelle. --- lib/libc/rpc/clnt_bcast.c | 2 +- lib/libc/rpc/clnt_generic.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libc/rpc/clnt_bcast.c b/lib/libc/rpc/clnt_bcast.c index a194ba6c77cc..99f54082d002 100644 --- a/lib/libc/rpc/clnt_bcast.c +++ b/lib/libc/rpc/clnt_bcast.c @@ -469,7 +469,7 @@ rpc_broadcast_exp(rpcprog_t prog, rpcvers_t vers, rpcproc_t proc, "broadcast packet"); stat = RPC_CANTSEND; continue; - }; + } #ifdef RPC_DEBUG if (!__rpc_lowvers) fprintf(stderr, "Broadcast packet sent " diff --git a/lib/libc/rpc/clnt_generic.c b/lib/libc/rpc/clnt_generic.c index 0c8a425750a4..0dea81d52eb5 100644 --- a/lib/libc/rpc/clnt_generic.c +++ b/lib/libc/rpc/clnt_generic.c @@ -402,7 +402,7 @@ clnt_tli_create(int fd, const struct netconfig *nconf, if (madefd) { (void) CLNT_CONTROL(cl, CLSET_FD_CLOSE, NULL); /* (void) CLNT_CONTROL(cl, CLSET_POP_TIMOD, NULL); */ - }; + } return (cl); -- cgit v1.2.3