summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys/nfs/nfs.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/sys/nfs/nfs.h b/sys/nfs/nfs.h
index 158a9b230e4..ad85bfa84d4 100644
--- a/sys/nfs/nfs.h
+++ b/sys/nfs/nfs.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs.h,v 1.33 2008/07/05 17:34:26 thib Exp $ */
+/* $OpenBSD: nfs.h,v 1.34 2008/08/31 16:58:01 thib Exp $ */
/* $NetBSD: nfs.h,v 1.10.4.1 1996/05/27 11:23:56 fvdl Exp $ */
/*
@@ -121,17 +121,6 @@
#endif
/*
- * Set the attribute timeout based on how recently the file has been modified.
- */
-#if 0 /* replaced by nfs_attrtimeo() in nfs_subs.c */
-#define NFS_ATTRTIMEO(np) \
- ((((np)->n_flag & NMODIFIED) || \
- (time_second - (np)->n_mtime) / 10 < NFS_MINATTRTIMO) ? NFS_MINATTRTIMO : \
- ((time_second - (np)->n_mtime) / 10 > NFS_MAXATTRTIMO ? NFS_MAXATTRTIMO : \
- (time_second - (np)->n_mtime) / 10))
-#endif
-
-/*
* Structures for the nfssvc(2) syscall. Not that anyone but nfsd and mount_nfs
* should ever try and use it.
*/