Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jan 2013 18:45:20 +0000 (UTC)
From:      John Baldwin <jhb@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r245566 - head/sys/fs/nfsclient
Message-ID:  <201301171845.r0HIjKlJ051539@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jhb
Date: Thu Jan 17 18:45:20 2013
New Revision: 245566
URL: http://svnweb.freebsd.org/changeset/base/245566

Log:
  Remove a no-longer-used variable after the previous change to use
  VA_UTIMES_NULL.
  
  Submitted by:	bde, rmacklem
  MFC after:	1 week

Modified:
  head/sys/fs/nfsclient/nfs_clport.c

Modified: head/sys/fs/nfsclient/nfs_clport.c
==============================================================================
--- head/sys/fs/nfsclient/nfs_clport.c	Thu Jan 17 18:32:30 2013	(r245565)
+++ head/sys/fs/nfsclient/nfs_clport.c	Thu Jan 17 18:45:20 2013	(r245566)
@@ -726,7 +726,6 @@ nfscl_fillsattr(struct nfsrv_descript *n
 	u_int32_t *tl;
 	struct nfsv2_sattr *sp;
 	nfsattrbit_t attrbits;
-	struct timeval curtime;
 
 	switch (nd->nd_flag & (ND_NFSV2 | ND_NFSV3 | ND_NFSV4)) {
 	case ND_NFSV2:
@@ -755,7 +754,6 @@ nfscl_fillsattr(struct nfsrv_descript *n
 		txdr_nfsv2time(&vap->va_mtime, &sp->sa_mtime);
 		break;
 	case ND_NFSV3:
-		getmicrotime(&curtime);
 		if (vap->va_mode != (mode_t)VNOVAL) {
 			NFSM_BUILD(tl, u_int32_t *, 2 * NFSX_UNSIGNED);
 			*tl++ = newnfs_true;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301171845.r0HIjKlJ051539>