Remove the unused nfs_curusec().

This commit is contained in:
John Baldwin 2013-01-17 19:03:24 +00:00
parent e13fe79820
commit 9f5038374b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=245568
2 changed files with 0 additions and 10 deletions

View File

@ -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
*/

View File

@ -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);