From nobody Sun Oct 02 04:30:16 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 4Mg9xP0lTGz4dtWH; Sun, 2 Oct 2022 04:30:17 +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 4Mg9xP08T8z47Q2; Sun, 2 Oct 2022 04:30:17 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664685017; 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=XT61xygk4v5HR6x5W2uAaY0PpO5JNpYRxHB1AEH9hJ4=; b=dHmDYHzhTp6rmk7Z5/B2iwJcyqATbsRAzjp7kn2t4HbOBqiyB6HWyhAXRRVfNGGKgdwpaN jYS2WI+hl4pmsvNVI+d06Ps7gZTJAM9IvABLwXFBW2r9QDlDnqG2psDhAzjb2jaIi5zVsP MHzroEcHJLu+YRWMNgKkEf+Rnbas8v3T4o70kV7Q880nvSNuBPdzZcxtgGQaAWwB7ZMNKf TywBl4wqOFc28w5Hpa3i1/1OX9nVU8tV5ZLw//hi5ityHJMDHoQbob/zsBqgSo5rS+YAi+ 5ci8ouw6EV0iK4/3QSrOCbVNpxuM3XvDw3SP2GcHxSZsHiT4zNZWBCGkUUtX/A== 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 4Mg9xN6NK2zlNH; Sun, 2 Oct 2022 04:30:16 +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 2924UGU7065023; Sun, 2 Oct 2022 04:30:16 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2924UG4H065017; Sun, 2 Oct 2022 04:30:16 GMT (envelope-from git) Date: Sun, 2 Oct 2022 04:30:16 GMT Message-Id: <202210020430.2924UG4H065017@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Warner Losh Subject: git: a73543fd38c1 - stable/13 - svc_vc_rendezvous_stat: 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/stable/13 X-Git-Reftype: branch X-Git-Commit: a73543fd38c194cd4dbcde8deb012a0fd4d02e94 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664685017; 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=XT61xygk4v5HR6x5W2uAaY0PpO5JNpYRxHB1AEH9hJ4=; b=K2YLtXsWVE1no4Fv1Z2MYuias3FowT08RQXf++FJtutKtp4zAave0gDES+2M+ajTMLARLK 1C99mUNS7MFYDT0SgJNUzHxRnJIdrDrbxXbOiTo2An6ohIEDOtzszaAKeXXRCBs4TyVqyX yex8PiizB2HTLBTWdM8YjuVFCnCEAjacTDgc3I6k5Bo0mfSNHel9vZnh4zwvD6EC+jU/FI QvMxXoqmWwawrpignHPOzGtndTQphuDteSGHIwc9QzSwuT1n8yvTHiOO/tDAPmARbtLmaE fBgRsB2ZFzJdKwztgzDniTSuWvqaTRyk+pRHBcOjYUMSvCGfw5ofG3wMhVxjpA== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664685017; a=rsa-sha256; cv=none; b=aXxuRwFXxAV54KtG4thoJ1Fxu3T6uL5buXxSwVdb7QJ1SB3PLxCDPWT+Y2SuyBo5cg52oI 8PNv9rpCjwX2zVvcUoGL5o5L4Zhe3ozQklJY9aqM2//PZkG8/cPv4rjMtRkKcqUmnlUPnf lHWu2OZb+DK3lIpX+tZ4KMfIPLYuSt6vlgSAdqNJseL0Hlxrvz0A8i5UwB9nX4RguWkQny dPDmcM0Z387k1u71i4ZwY7P0ewiBCfR9n/WLw2LSS9fU8UPkulCrUJy+g+/uRRaWYKuF28 VVIB8dLnEhOqUXcOPTfu94jE1SgyRzV6FGKjRjtKR97WqzI7spkMmGtwG/brRQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by imp: URL: https://cgit.FreeBSD.org/src/commit/?id=a73543fd38c194cd4dbcde8deb012a0fd4d02e94 commit a73543fd38c194cd4dbcde8deb012a0fd4d02e94 Author: Warner Losh AuthorDate: 2022-07-08 17:53:35 +0000 Commit: Warner Losh CommitDate: 2022-10-02 04:25:57 +0000 svc_vc_rendezvous_stat: eliminiate write only variable stat Sponsored by: Netflix (cherry picked from commit 6e671ec1e64ccd11c81eabe5abef5b20745914a2) --- sys/rpc/svc_vc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/sys/rpc/svc_vc.c b/sys/rpc/svc_vc.c index 64ceb9008fd3..d6e77a5d3180 100644 --- a/sys/rpc/svc_vc.c +++ b/sys/rpc/svc_vc.c @@ -449,7 +449,6 @@ svc_vc_rendezvous_stat(SVCXPRT *xprt) static void svc_vc_destroy_common(SVCXPRT *xprt) { - enum clnt_stat stat; uint32_t reterr; if (xprt->xp_socket) { @@ -462,7 +461,7 @@ svc_vc_destroy_common(SVCXPRT *xprt) * daemon having crashed or been * restarted, so just ignore returned stat. */ - stat = rpctls_srv_disconnect(xprt->xp_sslsec, + rpctls_srv_disconnect(xprt->xp_sslsec, xprt->xp_sslusec, xprt->xp_sslrefno, &reterr); }