diff options
author | John Baldwin <jhb@FreeBSD.org> | 2013-01-17 19:03:24 +0000 |
---|---|---|
committer | John Baldwin <jhb@FreeBSD.org> | 2013-01-17 19:03:24 +0000 |
commit | 9f5038374beb288807c2862ac4e9dc6d5096a1b8 (patch) | |
tree | 70f5ac013c90e16d983baacd373dc843cc176b1b | |
parent | e13fe798209f5687f16e2380f45b98888591823f (diff) | |
download | src-9f5038374beb288807c2862ac4e9dc6d5096a1b8.tar.gz src-9f5038374beb288807c2862ac4e9dc6d5096a1b8.zip |
Remove the unused nfs_curusec().
Notes
Notes:
svn path=/head/; revision=245568
-rw-r--r-- | sys/nfs/nfs_common.c | 9 | ||||
-rw-r--r-- | sys/nfs/nfs_common.h | 1 |
2 files changed, 0 insertions, 10 deletions
diff --git a/sys/nfs/nfs_common.c b/sys/nfs/nfs_common.c index 6f0394824640..83e712583bf4 100644 --- a/sys/nfs/nfs_common.c +++ b/sys/nfs/nfs_common.c @@ -90,15 +90,6 @@ static int nfs_realign_count; SYSCTL_INT(_vfs_nfs_common, OID_AUTO, realign_count, CTLFLAG_RD, &nfs_realign_count, 0, "Number of mbuf realignments done"); -u_quad_t -nfs_curusec(void) -{ - struct timeval tv; - - getmicrotime(&tv); - return ((u_quad_t)tv.tv_sec * 1000000 + (u_quad_t)tv.tv_usec); -} - /* * copies mbuf chain to the uio scatter/gather list */ diff --git a/sys/nfs/nfs_common.h b/sys/nfs/nfs_common.h index 1c0b31594119..c3420b32d366 100644 --- a/sys/nfs/nfs_common.h +++ b/sys/nfs/nfs_common.h @@ -46,7 +46,6 @@ extern nfstype nfsv3_type[]; #define vtonfsv3_type(a) txdr_unsigned(nfsv3_type[((int32_t)(a))]) int nfs_adv(struct mbuf **, caddr_t *, int, int); -u_quad_t nfs_curusec(void); void *nfsm_disct(struct mbuf **, caddr_t *, int, int, int); int nfs_realign(struct mbuf **, int); |