From nobody Thu Mar 02 15:12:48 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 4PSF343cl8z3vvw2; Thu, 2 Mar 2023 15:12:48 +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 4PSF341sKyz4Kt2; Thu, 2 Mar 2023 15:12:48 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677769968; 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=rYZrkrpiMmatv53EVK4av3Y/vsIN1AOJSuIEILNv1io=; b=O1/5oAViKS/Kr7iUeqp2dihm8auhrzfywM+gHWKoKkz78qN6uFOliSvsMQPsGsn803JxkE T9OMTTGD1fuYLqB9dX/TxbWPqUMVpPcrOiytfShXf9Pqc96KmWtVCQFtK97e4pWBz4RcZP b8yr+aPhzPJlADUXY7UMxxhQNs/IDS194LxemIWZ2MtSmvyvzlo2OhKFP3TZADz/4qmfm2 7vU80n4PaTxqKZp5bsLt30DdH9j0R4jLVkoYqoWHd5vcSvPl9m5NS/1NMP01FAnSNkvI3P hUz0pqC3k6YZ3iGhjUmuOSG3cwjKPt9KTnYb2fYGzBcfXWp2lue/RULPRnkmKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1677769968; 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=rYZrkrpiMmatv53EVK4av3Y/vsIN1AOJSuIEILNv1io=; b=Ft+SyCGzp32fOhklzDAhyVc7EbnI3E6Bqo/sNaYknUWNwM6zreZVXNx1KRNorg8jKQqmx3 H5Yi+UnZCtUEJxAdwInHujlEWuGzUPMnTK9FZ0idhKLovpkJN8yNlkJ2Ft6w7b8onrtIsB an8ExJJEP3jEk5Snu//qmf6DnmpUzGdM/4wXq8lGNIP7HClCMfxYpo1hSsqEj3LfBiD7iJ fGUQNRF/CIW6cQVXEzO+LJi/TBN8yayal8v46JsZE/oBrPjv8C4WB4xVXjc2EqXaGGpqzW IceknVwR7vOhgDDAaksJMAMijPRoKaikxFUt+ORIQ2MvFEGO09Ab1nhgAttV5Q== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1677769968; a=rsa-sha256; cv=none; b=NPEo66UL5mMQ3suhSClneaL+Qb7lwOZfySUI3/4XxcnBk61rez9f+dvAK5igQ/3sHk7VLD Yf9HC8cDma/nNpq5jfAqAwcVRijCDpGNbK2+Yl5ToKvxMu3FuWn1wqTm/A0bABSBSrBYV5 JC0WNa77SvZh18I4D9LQYZ/k5Ijc7gJ2rPpo4LM8G5Pvpi1kR1GnOnLR+LZK35WP6A//tE z/vhcrQtVjUxooOU9Ooyi24D0fhFAbb2PQmyFTwf/VWF+NQaY4mppve7Djt0I/aZGophNH vYxitMULSjsIlQFU6XZu5iPR8D2g90qtFLHwT4MpSiPNZgBc3wWFewtJSBHdrQ== 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 4PSF340zZJzLY5; Thu, 2 Mar 2023 15:12:48 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 322FCmcG038058; Thu, 2 Mar 2023 15:12:48 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 322FCmcH038057; Thu, 2 Mar 2023 15:12:48 GMT (envelope-from git) Date: Thu, 2 Mar 2023 15:12:48 GMT Message-Id: <202303021512.322FCmcH038057@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Warner Losh Subject: git: fce4b0c51d7c - main - rpcbind: Remove useless return at the end of void function 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: imp X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: fce4b0c51d7c2e304df555879046fcc043e69866 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=fce4b0c51d7c2e304df555879046fcc043e69866 commit fce4b0c51d7c2e304df555879046fcc043e69866 Author: Elyes Haouas AuthorDate: 2023-03-02 14:59:07 +0000 Commit: Warner Losh CommitDate: 2023-03-02 15:01:39 +0000 rpcbind: Remove useless return at the end of void function Signed-off-by: Elyes Haouas Reviewed by: imp Pull Request: https://github.com/freebsd/freebsd-src/pull/656 --- usr.sbin/rpcbind/rpcb_svc_4.c | 1 - usr.sbin/rpcbind/rpcb_svc_com.c | 3 --- 2 files changed, 4 deletions(-) diff --git a/usr.sbin/rpcbind/rpcb_svc_4.c b/usr.sbin/rpcbind/rpcb_svc_4.c index b6ee61771edf..ac96f3c39f8f 100644 --- a/usr.sbin/rpcbind/rpcb_svc_4.c +++ b/usr.sbin/rpcbind/rpcb_svc_4.c @@ -245,7 +245,6 @@ done: } } } - return; } /* diff --git a/usr.sbin/rpcbind/rpcb_svc_com.c b/usr.sbin/rpcbind/rpcb_svc_com.c index 31cdaf96f074..c6b4930d6972 100644 --- a/usr.sbin/rpcbind/rpcb_svc_com.c +++ b/usr.sbin/rpcbind/rpcb_svc_com.c @@ -1225,7 +1225,6 @@ send_svcsyserr(SVCXPRT *xprt, struct finfo *fi) xprt_set_caller(xprt, fi); svcerr_systemerr(xprt); } - return; } static void @@ -1318,7 +1317,6 @@ done: #endif } else (void) free_slot_by_xid(reply_msg.rm_xid); - return; } static void @@ -1344,7 +1342,6 @@ find_versions(rpcprog_t prog, char *netid, rpcvers_t *lowvp, rpcvers_t *highvp) } *lowvp = lowv; *highvp = highv; - return; } /*