summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorthib <thib@openbsd.org>2007-10-15 21:09:44 +0000
committerthib <thib@openbsd.org>2007-10-15 21:09:44 +0000
commit0c707a6c291d6e2c5e1ec973ab5f76b2b2b274bf (patch)
tree28376bb6d2ac145657ac12a52d45990bcf192cef
parentAdd new "reached end of file while parsing quoted string" as expected (diff)
downloadwireguard-openbsd-0c707a6c291d6e2c5e1ec973ab5f76b2b2b274bf.tar.xz
wireguard-openbsd-0c707a6c291d6e2c5e1ec973ab5f76b2b2b274bf.zip
Remove a set, but unused varible in nfs_socket();
NQNFS leftover. ok miod@,blambert@
-rw-r--r--sys/nfs/nfs_socket.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/sys/nfs/nfs_socket.c b/sys/nfs/nfs_socket.c
index 8cf2daef3c4..48df9bbf49b 100644
--- a/sys/nfs/nfs_socket.c
+++ b/sys/nfs/nfs_socket.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: nfs_socket.c,v 1.52 2007/10/13 17:38:43 thib Exp $ */
+/* $OpenBSD: nfs_socket.c,v 1.53 2007/10/15 21:09:44 thib Exp $ */
/* $NetBSD: nfs_socket.c,v 1.27 1996/04/15 20:20:00 thorpej Exp $ */
/*
@@ -837,7 +837,7 @@ nfs_request(vp, mrest, procnum, procp, cred, mrp, mdp, dposp)
int i;
struct nfsmount *nmp;
struct mbuf *md;
- time_t reqtime, waituntil;
+ time_t waituntil;
caddr_t dpos, cp2;
int t1, s, error = 0, mrest_len;
int trylater_delay;
@@ -894,9 +894,6 @@ tryagain:
s = splsoftnet();
TAILQ_INSERT_TAIL(&nfs_reqq, rep, r_chain);
- /* Get send time for nqnfs */
- reqtime = time_second;
-
/*
* If backing off another request or avoiding congestion, don't
* send this one now but let timer do it. If not timing a request,