Date: Thu, 17 Jan 2013 19:03:24 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r245568 - head/sys/nfs Message-ID: <201301171903.r0HJ3OoS057384@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jhb Date: Thu Jan 17 19:03:24 2013 New Revision: 245568 URL: http://svnweb.freebsd.org/changeset/base/245568 Log: Remove the unused nfs_curusec(). Modified: head/sys/nfs/nfs_common.c head/sys/nfs/nfs_common.h Modified: head/sys/nfs/nfs_common.c ============================================================================== --- head/sys/nfs/nfs_common.c Thu Jan 17 18:52:49 2013 (r245567) +++ head/sys/nfs/nfs_common.c Thu Jan 17 19:03:24 2013 (r245568) @@ -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 */ Modified: head/sys/nfs/nfs_common.h ============================================================================== --- head/sys/nfs/nfs_common.h Thu Jan 17 18:52:49 2013 (r245567) +++ head/sys/nfs/nfs_common.h Thu Jan 17 19:03:24 2013 (r245568) @@ -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);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201301171903.r0HJ3OoS057384>