From nobody Tue Apr 05 04:33:07 2022 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 4D2381A93345; Tue, 5 Apr 2022 04:33:09 +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 4KXZWm3Sl2z4gXZ; Tue, 5 Apr 2022 04:33:08 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133188; 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=o+4brQYrEJLuEN7SmEKWW15SAQ/ZzP6M9TTLvfNsndM=; b=BLMcC6ybppzqrSWseq3qxaCjy0FdOMq8HuAd1dukALsszeMhUIdsOzgjKrMnsu5nmCys/b khHk4EwviO9/NvV5ql66GYNjQLRWausLy8uXU/KBqqTL6EWh0e35Jg2916QmhU80O3tzNy NDEjr3HWHDqOYs8D8vcjbkyxpm4648drfT9SpjudigkdJRQCkMh/ynkPqbh5gtR/RmPQBN 72s5s0rVmxW78/XV8NBTjZrPuRj+Npcy7yR7195CUCQtRNzHAngYquvExavw93gNQMd1uN aeAW84wLji+mJFKjjNbatDqwECy/huyWHVfRiW4eoKO2/CCmxErXsj7fVmixaQ== 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 0A12C1FB4E; Tue, 5 Apr 2022 04:33:08 +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 2354X7HI009946; Tue, 5 Apr 2022 04:33:07 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2354X7QK009945; Tue, 5 Apr 2022 04:33:07 GMT (envelope-from git) Date: Tue, 5 Apr 2022 04:33:07 GMT Message-Id: <202204050433.2354X7QK009945@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: 77bc5890adf4 - main - clnt_vc_destroy: eliminiate write only variable stat 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: 77bc5890adf4aad832e1ed35f15dad8f5220a91b Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649133188; 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=o+4brQYrEJLuEN7SmEKWW15SAQ/ZzP6M9TTLvfNsndM=; b=rl/fhZNtnXtsYPmyUA5KiAgUxzptpGd3EDGSZJgdX1YsLgzkv20RtBPdrZyR80T3i8yGR8 4wkyG1uGvSGp+OQrUWwBGdyNZT/BOXCX5y5g1jDhp9PutMQECofOroyF5JaMTSSyICjvzA X1Net7YliVbRh7XRxa66ymO6GRpVkLj57Oitf9V6e5mYwU/HmT1DwB29OHeEp1OiuWYd+d yvFP14ROihdYRKclVJNZyewkG+bQWylmsafNMl5A5qxl85B5trMzlb2gt+vrrGJ4peooer RR0afMY9B/8tw/GSfBIiRK1YVlSxoyImFrqZhchxqFcJ5DZFLKV7HAsFPblIZQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649133188; a=rsa-sha256; cv=none; b=B79TMIJ+zDw+cnqMbD48ouixBuXzSTS3hAOXpu8FJiOL8zsGinb0WLb03bO0a5akpvgmg1 t25ol4l/JeWE2UQUuzqTtOJnu+JizjZiIXWijlLnSa5F6tP6guJt3hLhyNS+R05hZpEKON tzJw1SIaIJqDxKvvF+bNrQa8y2heK6tggvfiIzvHa1iRQf8qGzRza5W/2JzYWshrUni0Wo cbPyejUeKlFTaTUubWK8KOjYum+IiWP4PS3Vds1hsOOLpOGMHrMs66BCcoebixlHCY08XF zAOqzdkRjUoajufZRbGi0rqgDvbttaSPARp0a/FHBT3Ongm9JRp3A8cbmA6klA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=77bc5890adf4aad832e1ed35f15dad8f5220a91b commit 77bc5890adf4aad832e1ed35f15dad8f5220a91b Author: Warner Losh AuthorDate: 2022-04-05 02:42:37 +0000 Commit: Warner Losh CommitDate: 2022-04-05 04:31:02 +0000 clnt_vc_destroy: eliminiate write only variable stat Sponsored by: Netflix --- sys/rpc/clnt_vc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/rpc/clnt_vc.c b/sys/rpc/clnt_vc.c index 659bb4598dcb..dfada2bea388 100644 --- a/sys/rpc/clnt_vc.c +++ b/sys/rpc/clnt_vc.c @@ -863,7 +863,6 @@ clnt_vc_destroy(CLIENT *cl) struct ct_data *ct = (struct ct_data *) cl->cl_private; struct socket *so = NULL; SVCXPRT *xprt; - enum clnt_stat stat; uint32_t reterr; clnt_vc_close(cl); @@ -906,7 +905,7 @@ clnt_vc_destroy(CLIENT *cl) * daemon having crashed or been * restarted, so ignore return stat. */ - stat = rpctls_cl_disconnect(ct->ct_sslsec, + rpctls_cl_disconnect(ct->ct_sslsec, ct->ct_sslusec, ct->ct_sslrefno, &reterr); }