From nobody Mon Nov 6 19:07:35 2023 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4SPLT40PW9z4yj6X; Mon, 6 Nov 2023 19:07:36 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4SPLT356rVz4fTR; Mon, 6 Nov 2023 19:07:35 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699297655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YsQhcUyl7U7N2dTrhQBnatye1U9I00elUlGtXe+QesY=; b=DPUmgMwPuLoVRMjzwvwOSSNm1cRUpyONnrvBwT09V25EK5nA42LKZxSBsw6D6ZAs0qpxzk 05zFMieJffl+JMi0Ujpm9iFAMAxeBa4IiaVo4XVzpWtZSTMYxxSvzu9jFi+i23jpOU6F8m wYFl4L9o64y0DXfGbDngpjGM24WaeEucc/bpBazZapZOizVwyT4F5Wny6d7reWT0wH7FO2 NIr3squ50gMCfGu75kTlQ7uovmnV749bl72L/wnBl3oDcsqUg5Rg22EleM8nCVhPbLDJeB QHYUEKrftLLRpZfZKyWMUCp8zGNgjV3CRVTkdhciKXl/bPp1Qc2ngWpokFWoZw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1699297655; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=YsQhcUyl7U7N2dTrhQBnatye1U9I00elUlGtXe+QesY=; b=bM4l3soKFUkA3hE3wkqq2boUHoRqfgU02JOfOS6ahh2l9qLix8hknAUVycLvlvjLi3ICy1 tlZmcAera4OZaczwaY7+O97PGKmRN5js5+BTa/sMmbrxtyZ+suroml5GylaRz+/mnaLFK4 aJjlbLKXScfVr7llA5UHCnH9ihDHUodrwSPbXaqt26siEp5//BxgH5pQN7+9wUDKXadi0z ULdIYExvBjn9zOIzXbihmK/fujkMWd8Ps8bdcAgb4Pt7imxhF4tyKHeEmnU7dzgHJP0Nel br8X4jQHWi8GNr3Aq8xg2/C2hgsH9SHoH/nElhvlfKzlvZvynu0sGI+3L1yFLw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1699297655; a=rsa-sha256; cv=none; b=v1tSPMwCT9/40wFHCfhmpCDXDRmxBpuEk5Fl/7/DLqZSoR73EgC0JyR25NSJaXxn3/1t9k pEL2YycFDw+GoOAUqs5BT2W0L5gDD2Q92Y2SGIpqCwD2rAyyTt8LfUu3k6uX9VUTI4jcMf RAYzt1wQRGRMIa7EHYGqtAjDLsIuT3gZIW8Icxq/jPQ2JRH8Uo/usArX+TtXnCNFvS1w15 yDuXFJHK23ASOP1sZDLF2zJXTzL3Hbu1XBZ51Y6mCcipBbf6aBdNcyAVPUnQM2sTLfuNUX gXRhBTdY0umU4n79WDklybn0CG4OVl8GF2T5d5XtRbJxep2k9HfcjJoAJCZsPg== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4SPLT34Dx1z4RK; Mon, 6 Nov 2023 19:07:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 3A6J7Zi6094448; Mon, 6 Nov 2023 19:07:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 3A6J7Zix094445; Mon, 6 Nov 2023 19:07:35 GMT (envelope-from git) Date: Mon, 6 Nov 2023 19:07:35 GMT Message-Id: <202311061907.3A6J7Zix094445@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Mitchell Horne Subject: git: 29ca15158677 - main - rpcbind: Remove return statement at the end of void functions List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: mhorne X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 29ca15158677e5b142542d9db18bf7429b40b020 Auto-Submitted: auto-generated The branch main has been updated by mhorne: URL: https://cgit.FreeBSD.org/src/commit/?id=29ca15158677e5b142542d9db18bf7429b40b020 commit 29ca15158677e5b142542d9db18bf7429b40b020 Author: Elyes Haouas AuthorDate: 2023-11-03 17:47:01 +0000 Commit: Mitchell Horne CommitDate: 2023-11-06 19:07:10 +0000 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 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 *