git: 5c2aad7e890d - main - krpc_call: eliminiate write only variable nam

From: Warner Losh <imp_at_FreeBSD.org>
Date: Tue, 05 Apr 2022 04:33:06 UTC
The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=5c2aad7e890d9f90b0281bb68bf07e764e0d62bd

commit 5c2aad7e890d9f90b0281bb68bf07e764e0d62bd
Author:     Warner Losh <imp@FreeBSD.org>
AuthorDate: 2022-04-05 02:42:08 +0000
Commit:     Warner Losh <imp@FreeBSD.org>
CommitDate: 2022-04-05 04:31:00 +0000

    krpc_call: eliminiate write only variable nam
    
    Sponsored by:           Netflix
---
 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;
 
 	/*