diff options
author | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2009-01-28 12:02:01 +0000 |
---|---|---|
committer | Alexander Bluhm <bluhm@cvs.openbsd.org> | 2009-01-28 12:02:01 +0000 |
commit | eb485ee9d248dfa6abcff4afd5a277e49f803d8f (patch) | |
tree | bd9b6f37dfbe0da422607168de3517ad4bdbe028 /sys/nfs | |
parent | 2fbf76fe3c693acf225eb222ec79264b1697dbbe (diff) |
Remove cur_usec variable that is no longer used.
ok blambert@
Diffstat (limited to 'sys/nfs')
-rw-r--r-- | sys/nfs/nfs_syscalls.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/nfs/nfs_syscalls.c b/sys/nfs/nfs_syscalls.c index 283a093b85d..c6cfac17ca0 100644 --- a/sys/nfs/nfs_syscalls.c +++ b/sys/nfs/nfs_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nfs_syscalls.c,v 1.75 2009/01/24 23:35:47 thib Exp $ */ +/* $OpenBSD: nfs_syscalls.c,v 1.76 2009/01/28 12:02:00 bluhm Exp $ */ /* $NetBSD: nfs_syscalls.c,v 1.19 1996/02/18 11:53:52 fvdl Exp $ */ /* @@ -311,7 +311,6 @@ nfssvc_nfsd(nsd, argp, p) struct nfsrv_descript *nd = NULL; struct mbuf *mreq; int error = 0, cacherep, s, sotype, writes_todo; - u_quad_t cur_usec; struct timeval tv; cacherep = RC_DOIT; @@ -369,8 +368,6 @@ nfssvc_nfsd(nsd, argp, p) } error = nfsrv_dorec(slp, nfsd, &nd); getmicrotime(&tv); - cur_usec = (u_quad_t)tv.tv_sec * 1000000 + - (u_quad_t)tv.tv_usec; if (error && LIST_FIRST(&slp->ns_tq) && timercmp(&LIST_FIRST(&slp->ns_tq)->nd_time, &tv, <=)) { @@ -510,8 +507,6 @@ nfssvc_nfsd(nsd, argp, p) * need to be serviced. */ getmicrotime(&tv); - cur_usec = (u_quad_t)tv.tv_sec * 1000000 + - (u_quad_t)tv.tv_usec; s = splsoftclock(); if (LIST_FIRST(&slp->ns_tq) && timercmp(&LIST_FIRST(&slp->ns_tq)->nd_time, &tv, <=)) { |