diff options
author | jhb <jhb@FreeBSD.org> | 2013-01-17 19:03:24 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2013-01-17 19:03:24 +0000 |
commit | fb9b0abf236fb7176a96d5ac08d774102a9b9f00 (patch) | |
tree | 70f5ac013c90e16d983baacd373dc843cc176b1b /sys/nfs | |
parent | 5bfac01b59eed334999aba307301bc24c8139bda (diff) | |
download | FreeBSD-src-fb9b0abf236fb7176a96d5ac08d774102a9b9f00.zip FreeBSD-src-fb9b0abf236fb7176a96d5ac08d774102a9b9f00.tar.gz |
Remove the unused nfs_curusec().
Diffstat (limited to 'sys/nfs')
-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 6f03948..83e7125 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 1c0b315..c3420b3 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); |