diff options
author | jhb <jhb@FreeBSD.org> | 2013-01-17 18:45:20 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-01-17 18:45:20 +0000 |
commit | 7cc7eee4d9d375e697381802e81c465ed5b75891 (patch) | |
tree | f2c65a5f052cf50307acb87deefe2bbfbc71cc2e /sys/fs/nfsclient | |
parent | a390aab8573d52d24403baa43f0d9095d5a2308e (diff) | |
download | FreeBSD-src-7cc7eee4d9d375e697381802e81c465ed5b75891.zip FreeBSD-src-7cc7eee4d9d375e697381802e81c465ed5b75891.tar.gz |
Remove a no-longer-used variable after the previous change to use
VA_UTIMES_NULL.
Submitted by: bde, rmacklem
MFC after: 1 week
Diffstat (limited to 'sys/fs/nfsclient')
-rw-r--r-- | sys/fs/nfsclient/nfs_clport.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/sys/fs/nfsclient/nfs_clport.c b/sys/fs/nfsclient/nfs_clport.c index 152f13f..1179eb5 100644 --- a/sys/fs/nfsclient/nfs_clport.c +++ b/sys/fs/nfsclient/nfs_clport.c @@ -726,7 +726,6 @@ nfscl_fillsattr(struct nfsrv_descript *nd, struct vattr *vap, 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 *nd, struct vattr *vap, 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; |