From nobody Sun Oct 02 04:30:14 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 4Mg9xM3lcyz4dtNK; Sun, 2 Oct 2022 04:30:15 +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 4Mg9xL5qLXz47Dl; Sun, 2 Oct 2022 04:30:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664685014; 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=opjtZwe11hkZF6ifU2Zwz+wYNTfMJjeW4FkD+Ide6sM=; b=aAXqeoAVj1lQQo/l5fB8EBP6Cuenv5gdj5vYQa9HHfe+eWuHPWr/yNoJWmxyDhMdMoBWjk U+90EtSuZ2hS9yqoGc0ZnvhbKSH3NLWLZ+7rcilBYzq/yI6La/zjDo2rDsFg+76EMG8dcY ZmvYvehd0AcS38t81j6dk2FNP1U2TIUp13eJJZ4omSJW5ElrJ+Nt4fTjjQUz4F7vA5xXpm K+/xzGpj8/o/NBuBYG/0zcOVi7JmKA/qdc0xPk2DkKYWorvRbWpgMgA3T09BeXlZsYuLwZ u+39RFR32qFz8hlwVUtcmyRsmD+jN+vXqJLFYN0lyWcqZ1SBYPRxXnQM7Alxaw== 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 4Mg9xL4x6PzlTj; Sun, 2 Oct 2022 04:30:14 +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 2924UEha064021; Sun, 2 Oct 2022 04:30:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2924UEHg064018; Sun, 2 Oct 2022 04:30:14 GMT (envelope-from git) Date: Sun, 2 Oct 2022 04:30:14 GMT Message-Id: <202210020430.2924UEHg064018@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: bdb15399d5a0 - stable/13 - krpc_call: eliminiate write only variable nam 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: bdb15399d5a097cc6846f59e831c216515b2af38 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1664685014; 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=opjtZwe11hkZF6ifU2Zwz+wYNTfMJjeW4FkD+Ide6sM=; b=mW79EWIx9AKNcNcbkbBXpSH0+8jOloiUOkZ+4eqKAqb9/cweQJfBCzl5casH1BPqMD02k5 2WbN/aIQ0xl1vsCWGcHs3L0z9Lj+PRwJoqT6hXbR/dfKWAimKC2ljd3EJUQOnAC+9XXZw5 fBGgx4Hr1sGv9arQpvTP5OdJOCTwo1sBE+bOLg5Oa0X67hvtTIKgyDfQSe4ig2H4ZvrLm+ Sqkdexsaf3v3Q763Kd/z85d2Wmlx/NoSXCZLd4uFZCBTv+CQVmfB7ww+e7JlJ65BbyQgdV Sgx7/hP3O0MW4Io0xno98jrQk5Z4Zf6R66qLMGaMjEkn1MkueIP8KDkT1Vawsw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1664685014; a=rsa-sha256; cv=none; b=WUrJYRRoHHQ/T8lXroDDyTUMbpXpZBSlIIJuGNWEqV++J7z2CZsaVwlML/BPA0XyA4c1vW dxHm+hMOqMlnETnYNxOluXjHczWlLJnv/ahdhcwiejGB0IpweAOaGxu4XzmZH8rUcz9PWc aOLuOn2mzoqdcw//5VeRgtlQ5gJ4rxuwZ2igDAFCCitvXDXTFl0TTA1IzuQGXmjcAUSr1e P/FOG0pWumLhm5/xm8EQvwYGuiKYQ0iCEZhM3A4KI+gEb9C0jfRG+qP7Fa3Qah3F5JczSS 5pLSNxImNCByRE2jls2GCV7vHPGRhIty50LVZhWNbvIHY4ghZc4SWh91uQpdhA== 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=bdb15399d5a097cc6846f59e831c216515b2af38 commit bdb15399d5a097cc6846f59e831c216515b2af38 Author: Warner Losh AuthorDate: 2022-07-08 17:53:35 +0000 Commit: Warner Losh CommitDate: 2022-10-02 04:25:57 +0000 krpc_call: eliminiate write only variable nam Sponsored by: Netflix (cherry picked from commit 5c2aad7e890d9f90b0281bb68bf07e764e0d62bd) --- sys/nfs/krpc_subr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sys/nfs/krpc_subr.c b/sys/nfs/krpc_subr.c index 21e8e3ad44d0..b4a0abd7a6f1 100644 --- a/sys/nfs/krpc_subr.c +++ b/sys/nfs/krpc_subr.c @@ -196,7 +196,7 @@ krpc_call(struct sockaddr_in *sa, u_int prog, u_int vers, u_int func, struct socket *so; struct sockaddr_in *sin, ssin; struct sockaddr *from; - struct mbuf *m, *nam, *mhead; + struct mbuf *m, *mhead; struct krpc_call *call; struct krpc_reply *reply; struct sockopt sopt; @@ -215,7 +215,7 @@ krpc_call(struct sockaddr_in *sa, u_int prog, u_int vers, u_int func, return (EAFNOSUPPORT); /* Free at end if not null. */ - nam = mhead = NULL; + mhead = NULL; from = NULL; /*