svn commit: r245566 - head/sys/fs/nfsclient

John Baldwin jhb at FreeBSD.org
Thu Jan 17 18:45:20 UTC 2013


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;


More information about the svn-src-head mailing list